home *** CD-ROM | disk | FTP | other *** search
Unknown | 1998-01-30 | 14.1 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
| |
100%
| gt2
| Kopftext: 'ForEachAtt'
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 6f 72 45 61 63 68 41 | 74 74 00 2f 00 25 46 6f |ForEachA|tt./.%Fo|
|00000010| 72 45 61 63 68 41 74 74 | 28 29 00 42 61 73 69 63 |rEachAtt|().Basic|
|00000020| 20 53 79 6e 74 61 78 3a | 0d 0a 25 46 6f 72 45 61 | Syntax:|..%ForEa|
|00000030| 63 68 41 74 74 28 29 20 | 7b 0d 0a 20 20 20 20 3c |chAtt() |{.. <|
|00000040| 6d 61 63 72 6f 20 63 6f | 64 65 3e 0d 0a 7d 0d 0a |macro co|de>..}..|
|00000050| 0d 0a 42 61 73 69 63 20 | 53 79 6e 74 61 78 20 45 |..Basic |Syntax E|
|00000060| 78 61 6d 70 6c 65 3a 0d | 0a 25 46 6f 72 45 61 63 |xample:.|.%ForEac|
|00000070| 68 41 74 74 28 29 20 7b | 0d 0a 20 20 25 41 74 74 |hAtt() {|.. %Att|
|00000080| 46 69 65 6c 64 4e 61 6d | 65 0d 0a 7d 0d 0a 45 78 |FieldNam|e..}..Ex|
|00000090| 70 61 6e 73 69 6f 6e 3a | 0d 0a 72 65 6e 74 69 6e |pansion:|..rentin|
|000000a0| 67 5f 63 75 73 74 6f 6d | 65 72 0d 0a 6d 61 73 74 |g_custom|er..mast|
|000000b0| 65 72 5f 6e 75 6d 62 65 | 72 0d 0a 6d 6f 76 69 65 |er_numbe|r..movie|
|000000c0| 5f 63 6f 70 79 5f 6e 75 | 6d 62 65 72 0d 0a 72 65 |_copy_nu|mber..re|
|000000d0| 6e 74 61 6c 5f 72 65 63 | 6f 72 64 5f 64 61 74 65 |ntal_rec|ord_date|
|000000e0| 0d 0a 72 65 6e 74 61 6c | 5f 64 61 74 65 0d 0a 64 |..rental|_date..d|
|000000f0| 75 65 5f 64 61 74 65 0d | 0a 72 65 6e 74 61 6c 5f |ue_date.|.rental_|
|00000100| 73 74 61 74 75 73 0d 0a | 70 61 79 6d 65 6e 74 5f |status..|payment_|
|00000110| 61 6d 6f 75 6e 74 0d 0a | 70 61 79 6d 65 6e 74 5f |amount..|payment_|
|00000120| 64 61 74 65 0d 0a 70 61 | 79 6d 65 6e 74 5f 73 74 |date..pa|yment_st|
|00000130| 61 74 75 73 0d 0a 6f 76 | 65 72 64 75 65 5f 63 68 |atus..ov|erdue_ch|
|00000140| 61 72 67 65 0d 0a 0d 0a | 46 75 6c 6c 20 53 79 6e |arge....|Full Syn|
|00000150| 74 61 78 3a 0d 0a 25 46 | 6f 72 45 61 63 68 41 74 |tax:..%F|orEachAt|
|00000160| 74 28 3c 74 61 62 6c 65 | 3e 2c 3c 73 65 70 61 72 |t(<table|>,<separ|
|00000170| 61 74 6f 72 3e 29 20 7b | 0d 0a 20 20 20 20 3c 6d |ator>) {|.. <m|
|00000180| 61 63 72 6f 20 63 6f 64 | 65 3e 0d 0a 7d 0d 0a 0d |acro cod|e>..}...|
|00000190| 0a 46 75 6c 6c 20 53 79 | 6e 74 61 78 20 45 78 61 |.Full Sy|ntax Exa|
|000001a0| 6d 70 6c 65 3a 0d 0a 25 | 46 6f 72 45 61 63 68 41 |mple:..%|ForEachA|
|000001b0| 74 74 28 50 61 72 65 6e | 74 2c 20 22 2c 20 22 29 |tt(Paren|t, ", ")|
|000001c0| 20 7b 25 41 74 74 46 69 | 65 6c 64 4e 61 6d 65 7d | {%AttFi|eldName}|
|000001d0| 0d 0a 45 78 70 61 6e 73 | 69 6f 6e 3a 0d 0a 6d 61 |..Expans|ion:..ma|
|000001e0| 73 74 65 72 5f 6e 75 6d | 62 65 72 2c 20 6d 6f 76 |ster_num|ber, mov|
|000001f0| 69 65 5f 63 6f 70 79 5f | 6e 75 6d 62 65 72 2c 20 |ie_copy_|number, |
|00000200| 67 65 6e 65 72 61 6c 5f | 63 6f 6e 64 69 74 69 6f |general_|conditio|
|00000210| 6e 0d 0a 0d 0a 55 73 61 | 67 65 3a 0d 0a 61 6e 20 |n....Usa|ge:..an |
|00000220| 65 6e 74 69 74 79 20 6d | 75 73 74 20 62 65 20 69 |entity m|ust be i|
|00000230| 6e 20 73 63 6f 70 65 0d | 0a 3c 74 61 62 6c 65 3e |n scope.|.<table>|
|00000240| 20 63 61 6e 20 62 65 20 | 50 61 72 65 6e 74 20 6f | can be |Parent o|
|00000250| 72 20 43 68 69 6c 64 20 | 28 69 66 20 61 20 72 65 |r Child |(if a re|
|00000260| 6c 61 74 69 6f 6e 73 68 | 69 70 20 69 73 20 69 6e |lationsh|ip is in|
|00000270| 20 73 63 6f 70 65 29 2c | 20 6f 72 20 65 6d 70 74 | scope),| or empt|
|00000280| 79 0d 0a 3c 73 65 70 61 | 72 61 74 6f 72 3e 20 69 |y..<sepa|rator> i|
|00000290| 73 20 6f 70 74 69 6f 6e | 61 6c 00 25 46 6f 72 45 |s option|al.%ForE|
|000002a0| 61 63 68 41 74 74 28 29 | 20 7b 0d 0a 7d 00 46 6f |achAtt()| {..}.Fo|
|000002b0| 72 45 61 63 68 46 4b 41 | 74 74 00 30 00 25 46 6f |rEachFKA|tt.0.%Fo|
|000002c0| 72 45 61 63 68 46 4b 41 | 74 74 28 29 00 42 61 73 |rEachFKA|tt().Bas|
|000002d0| 69 63 20 53 79 6e 74 61 | 78 3a 0d 0a 25 46 6f 72 |ic Synta|x:..%For|
|000002e0| 45 61 63 68 46 4b 41 74 | 74 28 29 20 7b 0d 0a 20 |EachFKAt|t() {.. |
|000002f0| 20 20 20 3c 6d 61 63 72 | 6f 20 63 6f 64 65 3e 0d | <macr|o code>.|
|00000300| 0a 7d 0d 0a 0d 0a 42 61 | 73 69 63 20 53 79 6e 74 |.}....Ba|sic Synt|
|00000310| 61 78 20 45 78 61 6d 70 | 6c 65 3a 0d 0a 25 46 6f |ax Examp|le:..%Fo|
|00000320| 72 45 61 63 68 46 4b 41 | 74 74 28 29 20 7b 0d 0a |rEachFKA|tt() {..|
|00000330| 20 20 25 41 74 74 46 69 | 65 6c 64 4e 61 6d 65 0d | %AttFi|eldName.|
|00000340| 0a 7d 0d 0a 45 78 70 61 | 6e 73 69 6f 6e 3a 0d 0a |.}..Expa|nsion:..|
|00000350| 6d 61 73 74 65 72 5f 6e | 75 6d 62 65 72 0d 0a 6d |master_n|umber..m|
|00000360| 6f 76 69 65 5f 63 6f 70 | 79 5f 6e 75 6d 62 65 72 |ovie_cop|y_number|
|00000370| 0d 0a 0d 0a 46 75 6c 6c | 20 53 79 6e 74 61 78 3a |....Full| Syntax:|
|00000380| 0d 0a 25 46 6f 72 45 61 | 63 68 46 4b 41 74 74 28 |..%ForEa|chFKAtt(|
|00000390| 3c 73 65 70 61 72 61 74 | 6f 72 3e 29 20 7b 0d 0a |<separat|or>) {..|
|000003a0| 20 20 20 20 3c 6d 61 63 | 72 6f 20 63 6f 64 65 3e | <mac|ro code>|
|000003b0| 0d 0a 7d 0d 0a 0d 0a 46 | 75 6c 6c 20 53 79 6e 74 |..}....F|ull Synt|
|000003c0| 61 78 20 45 78 61 6d 70 | 6c 65 3a 0d 0a 25 46 6f |ax Examp|le:..%Fo|
|000003d0| 72 45 61 63 68 46 4b 41 | 74 74 28 22 2c 20 22 29 |rEachFKA|tt(", ")|
|000003e0| 20 7b 25 41 74 74 46 69 | 65 6c 64 4e 61 6d 65 7d | {%AttFi|eldName}|
|000003f0| 0d 0a 45 78 70 61 6e 73 | 69 6f 6e 3a 0d 0a 6d 61 |..Expans|ion:..ma|
|00000400| 73 74 65 72 5f 6e 75 6d | 62 65 72 2c 20 6d 6f 76 |ster_num|ber, mov|
|00000410| 69 65 5f 63 6f 70 79 5f | 6e 75 6d 62 65 72 0d 0a |ie_copy_|number..|
|00000420| 0d 0a 55 73 61 67 65 3a | 0d 0a 61 20 72 65 6c 61 |..Usage:|..a rela|
|00000430| 74 69 6f 6e 73 68 69 70 | 20 6d 75 73 74 20 62 65 |tionship| must be|
|00000440| 20 69 6e 20 73 63 6f 70 | 65 0d 0a 3c 73 65 70 61 | in scop|e..<sepa|
|00000450| 72 61 74 6f 72 3e 20 69 | 73 20 6f 70 74 69 6f 6e |rator> i|s option|
|00000460| 61 6c 00 25 46 6f 72 45 | 61 63 68 46 4b 41 74 74 |al.%ForE|achFKAtt|
|00000470| 28 29 20 7b 0d 0a 7d 00 | 41 74 74 49 73 50 4b 00 |() {..}.|AttIsPK.|
|00000480| 31 00 25 41 74 74 49 73 | 50 4b 00 42 61 73 69 63 |1.%AttIs|PK.Basic|
|00000490| 20 53 79 6e 74 61 78 3a | 0d 0a 25 41 74 74 49 73 | Syntax:|..%AttIs|
|000004a0| 50 4b 0d 0a 0d 0a 42 61 | 73 69 63 20 53 79 6e 74 |PK....Ba|sic Synt|
|000004b0| 61 78 20 45 78 61 6d 70 | 6c 65 3a 0d 0a 25 46 6f |ax Examp|le:..%Fo|
|000004c0| 72 45 61 63 68 41 74 74 | 28 29 20 7b 0d 0a 20 20 |rEachAtt|() {.. |
|000004d0| 20 20 25 49 66 28 25 41 | 74 74 49 73 50 4b 29 20 | %If(%A|ttIsPK) |
|000004e0| 7b 0d 0a 20 20 20 20 20 | 20 20 20 25 41 74 74 4e |{.. | %AttN|
|000004f0| 61 6d 65 20 2d 3e 20 50 | 4b 7d 0d 0a 7d 0d 0a 0d |ame -> P|K}..}...|
|00000500| 0a 45 78 70 61 6e 73 69 | 6f 6e 3a 0d 0a 6d 61 73 |.Expansi|on:..mas|
|00000510| 74 65 72 2d 6e 75 6d 62 | 65 72 20 2d 3e 20 50 4b |ter-numb|er -> PK|
|00000520| 0d 0a 6d 6f 76 69 65 2d | 63 6f 70 79 2d 6e 75 6d |..movie-|copy-num|
|00000530| 62 65 72 20 2d 3e 20 50 | 4b 0d 0a 00 25 41 74 74 |ber -> P|K...%Att|
|00000540| 49 73 50 4b 00 41 74 74 | 49 73 46 4b 00 32 00 25 |IsPK.Att|IsFK.2.%|
|00000550| 41 74 74 49 73 46 4b 00 | 42 61 73 69 63 20 53 79 |AttIsFK.|Basic Sy|
|00000560| 6e 74 61 78 3a 0d 0a 25 | 41 74 74 49 73 46 4b 0d |ntax:..%|AttIsFK.|
|00000570| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 20 |...Basic| Syntax |
|00000580| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 46 6f 72 45 61 |Example:|..%ForEa|
|00000590| 63 68 41 74 74 28 29 20 | 7b 0d 0a 20 20 20 20 25 |chAtt() |{.. %|
|000005a0| 49 66 28 25 41 74 74 49 | 73 46 4b 29 20 7b 0d 0a |If(%AttI|sFK) {..|
|000005b0| 20 20 20 20 20 20 20 20 | 25 41 74 74 4e 61 6d 65 | |%AttName|
|000005c0| 20 2d 3e 20 46 4b 7d 0d | 0a 7d 0d 0a 0d 0a 45 78 | -> FK}.|.}....Ex|
|000005d0| 70 61 6e 73 69 6f 6e 3a | 0d 0a 6d 61 73 74 65 72 |pansion:|..master|
|000005e0| 2d 6e 75 6d 62 65 72 20 | 2d 3e 20 46 4b 0d 0a 00 |-number |-> FK...|
|000005f0| 25 41 74 74 49 73 46 4b | 00 41 74 74 4e 75 6c 6c |%AttIsFK|.AttNull|
|00000600| 4f 70 74 69 6f 6e 00 33 | 00 25 41 74 74 4e 75 6c |Option.3|.%AttNul|
|00000610| 6c 4f 70 74 69 6f 6e 00 | 42 61 73 69 63 20 53 79 |lOption.|Basic Sy|
|00000620| 6e 74 61 78 3a 0d 0a 25 | 41 74 74 4e 75 6c 6c 4f |ntax:..%|AttNullO|
|00000630| 70 74 69 6f 6e 0d 0a 0d | 0a 42 61 73 69 63 20 53 |ption...|.Basic S|
|00000640| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|00000650| 25 46 6f 72 45 61 63 68 | 41 74 74 28 29 20 7b 0d |%ForEach|Att() {.|
|00000660| 0a 20 20 20 20 25 41 74 | 74 4e 61 6d 65 20 2d 3e |. %At|tName ->|
|00000670| 20 25 41 74 74 4e 75 6c | 6c 4f 70 74 69 6f 6e 0d | %AttNul|lOption.|
|00000680| 0a 7d 0d 0a 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |.}....Ex|pansion:|
|00000690| 0d 0a 6d 61 73 74 65 72 | 2d 6e 75 6d 62 65 72 20 |..master|-number |
|000006a0| 2d 3e 20 4e 4f 54 20 4e | 55 4c 4c 0d 0a 6d 6f 76 |-> NOT N|ULL..mov|
|000006b0| 69 65 2d 63 6f 70 79 2d | 6e 75 6d 62 65 72 20 2d |ie-copy-|number -|
|000006c0| 3e 20 4e 55 4c 4c 0d 0a | 67 65 6e 65 72 61 6c 2d |> NULL..|general-|
|000006d0| 63 6f 6e 64 69 74 69 6f | 6e 20 2d 3e 20 4e 55 4c |conditio|n -> NUL|
|000006e0| 4c 0d 0a 00 25 41 74 74 | 4e 75 6c 6c 4f 70 74 69 |L...%Att|NullOpti|
|000006f0| 6f 6e 00 41 74 74 46 69 | 65 6c 64 4e 61 6d 65 00 |on.AttFi|eldName.|
|00000700| 34 00 25 41 74 74 46 69 | 65 6c 64 4e 61 6d 65 00 |4.%AttFi|eldName.|
|00000710| 42 61 73 69 63 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |Basic Sy|ntax:..%|
|00000720| 41 74 74 46 69 65 6c 64 | 4e 61 6d 65 0d 0a 0d 0a |AttField|Name....|
|00000730| 42 61 73 69 63 20 53 79 | 6e 74 61 78 20 45 78 61 |Basic Sy|ntax Exa|
|00000740| 6d 70 6c 65 3a 0d 0a 25 | 46 6f 72 45 61 63 68 41 |mple:..%|ForEachA|
|00000750| 74 74 28 29 20 7b 0d 0a | 20 20 20 20 25 41 74 74 |tt() {..| %Att|
|00000760| 46 69 65 6c 64 4e 61 6d | 65 0d 0a 7d 0d 0a 0d 0a |FieldNam|e..}....|
|00000770| 45 78 70 61 6e 73 69 6f | 6e 3a 0d 0a 6d 61 73 74 |Expansio|n:..mast|
|00000780| 65 72 5f 6e 75 6d 62 65 | 72 0d 0a 6d 6f 76 69 65 |er_numbe|r..movie|
|00000790| 5f 63 6f 70 79 5f 6e 75 | 6d 62 65 72 0d 0a 67 65 |_copy_nu|mber..ge|
|000007a0| 6e 65 72 61 6c 5f 63 6f | 6e 64 69 74 69 6f 6e 0d |neral_co|ndition.|
|000007b0| 0a 00 25 41 74 74 46 69 | 65 6c 64 4e 61 6d 65 00 |..%AttFi|eldName.|
|000007c0| 50 61 72 65 6e 74 00 35 | 00 25 50 61 72 65 6e 74 |Parent.5|.%Parent|
|000007d0| 00 42 61 73 69 63 20 53 | 79 6e 74 61 78 3a 0d 0a |.Basic S|yntax:..|
|000007e0| 25 50 61 72 65 6e 74 0d | 0a 0d 0a 42 61 73 69 63 |%Parent.|...Basic|
|000007f0| 20 53 79 6e 74 61 78 20 | 45 78 61 6d 70 6c 65 3a | Syntax |Example:|
|00000800| 0d 0a 25 50 61 72 65 6e | 74 0d 0a 45 78 70 61 6e |..%Paren|t..Expan|
|00000810| 73 69 6f 6e 3a 0d 0a 4d | 4f 56 49 45 5f 43 4f 50 |sion:..M|OVIE_COP|
|00000820| 59 00 25 50 61 72 65 6e | 74 00 41 74 74 46 69 65 |Y.%Paren|t.AttFie|
|00000830| 6c 64 57 69 64 74 68 00 | 36 00 25 41 74 74 46 69 |ldWidth.|6.%AttFi|
|00000840| 65 6c 64 57 69 64 74 68 | 00 42 61 73 69 63 20 53 |eldWidth|.Basic S|
|00000850| 79 6e 74 61 78 3a 0d 0a | 25 41 74 74 46 69 65 6c |yntax:..|%AttFiel|
|00000860| 64 57 69 64 74 68 0d 0a | 0d 0a 42 61 73 69 63 20 |dWidth..|..Basic |
|00000870| 53 79 6e 74 61 78 20 45 | 78 61 6d 70 6c 65 3a 0d |Syntax E|xample:.|
|00000880| 0a 25 46 6f 72 45 61 63 | 68 41 74 74 28 29 20 7b |.%ForEac|hAtt() {|
|00000890| 0d 0a 20 20 20 20 25 41 | 74 74 4e 61 6d 65 20 2d |.. %A|ttName -|
|000008a0| 3e 20 25 41 74 74 46 69 | 65 6c 64 57 69 64 74 68 |> %AttFi|eldWidth|
|000008b0| 0d 0a 7d 0d 0a 0d 0a 45 | 78 70 61 6e 73 69 6f 6e |..}....E|xpansion|
|000008c0| 3a 0d 0a 6d 61 73 74 65 | 72 2d 6e 75 6d 62 65 72 |:..maste|r-number|
|000008d0| 20 2d 3e 20 30 0d 0a 6d | 6f 76 69 65 2d 63 6f 70 | -> 0..m|ovie-cop|
|000008e0| 79 2d 6e 75 6d 62 65 72 | 20 2d 3e 20 30 0d 0a 67 |y-number| -> 0..g|
|000008f0| 65 6e 65 72 61 6c 2d 63 | 6f 6e 64 69 74 69 6f 6e |eneral-c|ondition|
|00000900| 20 2d 3e 20 31 30 0d 0a | 00 25 41 74 74 46 69 65 | -> 10..|.%AttFie|
|00000910| 6c 64 57 69 64 74 68 00 | 41 74 74 44 61 74 61 74 |ldWidth.|AttDatat|
|00000920| 79 70 65 00 37 00 25 41 | 74 74 44 61 74 61 74 79 |ype.7.%A|ttDataty|
|00000930| 70 65 00 42 61 73 69 63 | 20 53 79 6e 74 61 78 3a |pe.Basic| Syntax:|
|00000940| 0d 0a 25 41 74 74 44 61 | 74 61 74 79 70 65 0d 0a |..%AttDa|tatype..|
|00000950| 0d 0a 42 61 73 69 63 20 | 53 79 6e 74 61 78 20 45 |..Basic |Syntax E|
|00000960| 78 61 6d 70 6c 65 3a 0d | 0a 25 46 6f 72 45 61 63 |xample:.|.%ForEac|
|00000970| 68 41 74 74 28 29 20 7b | 0d 0a 20 20 20 20 25 41 |hAtt() {|.. %A|
|00000980| 74 74 4e 61 6d 65 20 2d | 3e 20 25 41 74 74 44 61 |ttName -|> %AttDa|
|00000990| 74 61 74 79 70 65 0d 0a | 7d 0d 0a 0d 0a 45 78 70 |tatype..|}....Exp|
|000009a0| 61 6e 73 69 6f 6e 3a 0d | 0a 6d 61 73 74 65 72 2d |ansion:.|.master-|
|000009b0| 6e 75 6d 62 65 72 20 2d | 3e 20 69 6e 74 0d 0a 6d |number -|> int..m|
|000009c0| 6f 76 69 65 2d 63 6f 70 | 79 2d 6e 75 6d 62 65 72 |ovie-cop|y-number|
|000009d0| 20 2d 3e 20 69 6e 74 0d | 0a 67 65 6e 65 72 61 6c | -> int.|.general|
|000009e0| 2d 63 6f 6e 64 69 74 69 | 6f 6e 20 2d 3e 20 76 61 |-conditi|on -> va|
|000009f0| 72 63 68 61 72 28 31 30 | 29 0d 0a 00 25 41 74 74 |rchar(10|)...%Att|
|00000a00| 44 61 74 61 74 79 70 65 | 00 3d 3d 00 38 00 25 3c |Datatype|.==.8.%<|
|00000a10| 63 6f 6d 70 61 72 69 73 | 6f 6e 20 6f 70 3e 28 2c |comparis|on op>(,|
|00000a20| 29 00 43 6f 6d 70 61 72 | 69 73 6f 6e 20 4f 70 65 |).Compar|ison Ope|
|00000a30| 72 61 74 6f 72 73 3a 0d | 0a 20 20 3d 3d 2c 3e 3d |rators:.|. ==,>=|
|00000a40| 2c 3e 2c 3c 3d 2c 3c 2c | 21 3d 2c 3c 3e 0d 0a 0d |,>,<=,<,|!=,<>...|
|00000a50| 0a 42 61 73 69 63 20 53 | 79 6e 74 61 78 3a 0d 0a |.Basic S|yntax:..|
|00000a60| 25 3d 3d 28 3c 6d 61 63 | 72 6f 20 63 6f 64 65 31 |%==(<mac|ro code1|
|00000a70| 3e 2c 20 3c 6d 61 63 72 | 6f 20 63 6f 64 65 32 3e |>, <macr|o code2>|
|00000a80| 29 0d 0a 0d 0a 42 61 73 | 69 63 20 53 79 6e 74 61 |)....Bas|ic Synta|
|00000a90| 78 20 45 78 61 6d 70 6c | 65 3a 0d 0a 25 46 6f 72 |x Exampl|e:..%For|
|00000aa0| 45 61 63 68 41 74 74 28 | 29 20 7b 0d 0a 20 20 20 |EachAtt(|) {.. |
|00000ab0| 20 25 49 66 28 25 3d 3d | 28 25 41 74 74 44 61 74 | %If(%==|(%AttDat|
|00000ac0| 61 74 79 70 65 2c 20 69 | 6e 74 65 67 65 72 29 29 |atype, i|nteger))|
|00000ad0| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 25 41 74 74 | {.. | %Att|
|00000ae0| 4e 61 6d 65 7d 0d 0a 7d | 0d 0a 0d 0a 45 78 70 61 |Name}..}|....Expa|
|00000af0| 6e 73 69 6f 6e 3a 0d 0a | 6d 61 73 74 65 72 2d 6e |nsion:..|master-n|
|00000b00| 75 6d 62 65 72 0d 0a 6d | 6f 76 69 65 2d 63 6f 70 |umber..m|ovie-cop|
|00000b10| 79 2d 6e 75 6d 62 65 72 | 0d 0a 00 25 3d 3d 28 2c |y-number|...%==(,|
|00000b20| 29 00 3c 3e 00 39 00 00 | 00 00 21 3d 00 3a 00 00 |).<>.9..|..!=.:..|
|00000b30| 00 00 3e 3d 00 3b 00 00 | 00 00 3c 3d 00 3c 00 00 |..>=.;..|..<=.<..|
|00000b40| 00 00 3e 00 3d 00 00 00 | 00 3c 00 3e 00 00 00 00 |..>.=...|.<.>....|
|00000b50| 41 6e 64 00 3f 00 25 41 | 6e 64 28 2c 29 00 42 61 |And.?.%A|nd(,).Ba|
|00000b60| 73 69 63 20 53 79 6e 74 | 61 78 3a 0d 0a 25 41 6e |sic Synt|ax:..%An|
|00000b70| 64 28 3c 6d 61 63 72 6f | 20 63 6f 64 65 31 3e 2c |d(<macro| code1>,|
|00000b80| 20 3c 6d 61 63 72 6f 20 | 63 6f 64 65 32 3e 29 0d | <macro |code2>).|
|00000b90| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 20 |...Basic| Syntax |
|00000ba0| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 46 6f 72 45 61 |Example:|..%ForEa|
|00000bb0| 63 68 41 74 74 28 29 20 | 7b 0d 0a 20 20 20 20 25 |chAtt() |{.. %|
|00000bc0| 49 66 28 25 41 6e 64 28 | 25 41 74 74 49 73 50 4b |If(%And(|%AttIsPK|
|00000bd0| 2c 25 41 74 74 49 73 46 | 4b 29 29 20 7b 0d 0a 20 |,%AttIsF|K)) {.. |
|00000be0| 20 20 20 20 20 20 20 25 | 41 74 74 4e 61 6d 65 7d | %|AttName}|
|00000bf0| 0d 0a 7d 0d 0a 0d 0a 45 | 78 70 61 6e 73 69 6f 6e |..}....E|xpansion|
|00000c00| 3a 0d 0a 6d 61 73 74 65 | 72 2d 6e 75 6d 62 65 72 |:..maste|r-number|
|00000c10| 0d 0a 00 25 41 6e 64 28 | 2c 29 00 4f 72 00 40 00 |...%And(|,).Or.@.|
|00000c20| 25 4f 72 28 2c 29 00 42 | 61 73 69 63 20 53 79 6e |%Or(,).B|asic Syn|
|00000c30| 74 61 78 3a 0d 0a 25 4f | 72 28 3c 6d 61 63 72 6f |tax:..%O|r(<macro|
|00000c40| 20 63 6f 64 65 31 3e 2c | 20 3c 6d 61 63 72 6f 20 | code1>,| <macro |
|00000c50| 63 6f 64 65 32 3e 29 0d | 0a 0d 0a 42 61 73 69 63 |code2>).|...Basic|
|00000c60| 20 53 79 6e 74 61 78 20 | 45 78 61 6d 70 6c 65 3a | Syntax |Example:|
|00000c70| 0d 0a 25 46 6f 72 45 61 | 63 68 41 74 74 28 29 20 |..%ForEa|chAtt() |
|00000c80| 7b 0d 0a 20 20 20 20 25 | 49 66 28 25 4f 72 28 25 |{.. %|If(%Or(%|
|00000c90| 41 74 74 49 73 50 4b 2c | 25 3d 3d 28 25 41 74 74 |AttIsPK,|%==(%Att|
|00000ca0| 44 61 74 61 74 79 70 65 | 2c 76 61 72 63 68 61 72 |Datatype|,varchar|
|00000cb0| 28 31 30 29 29 29 29 20 | 7b 0d 0a 20 20 20 20 20 |(10)))) |{.. |
|00000cc0| 20 20 20 25 41 74 74 4e | 61 6d 65 7d 0d 0a 7d 0d | %AttN|ame}..}.|
|00000cd0| 0a 0d 0a 45 78 70 61 6e | 73 69 6f 6e 3a 0d 0a 6d |...Expan|sion:..m|
|00000ce0| 61 73 74 65 72 2d 6e 75 | 6d 62 65 72 0d 0a 6d 6f |aster-nu|mber..mo|
|00000cf0| 76 69 65 2d 63 6f 70 79 | 2d 6e 75 6d 62 65 72 0d |vie-copy|-number.|
|00000d00| 0a 67 65 6e 65 72 61 6c | 2d 63 6f 6e 64 69 74 69 |.general|-conditi|
|00000d10| 6f 6e 0d 0a 00 25 4f 72 | 28 2c 29 00 4e 6f 74 00 |on...%Or|(,).Not.|
|00000d20| 41 00 25 4e 6f 74 28 29 | 00 42 61 73 69 63 20 53 |A.%Not()|.Basic S|
|00000d30| 79 6e 74 61 78 3a 0d 0a | 25 4e 6f 74 28 3c 6d 61 |yntax:..|%Not(<ma|
|00000d40| 63 72 6f 20 63 6f 64 65 | 3e 29 0d 0a 0d 0a 42 61 |cro code|>)....Ba|
|00000d50| 73 69 63 20 53 79 6e 74 | 61 78 20 45 78 61 6d 70 |sic Synt|ax Examp|
|00000d60| 6c 65 3a 0d 0a 25 46 6f | 72 45 61 63 68 41 74 74 |le:..%Fo|rEachAtt|
|00000d70| 28 29 20 7b 0d 0a 20 20 | 20 20 25 49 66 28 25 4e |() {.. | %If(%N|
|00000d80| 6f 74 28 25 3d 3d 28 25 | 41 74 74 44 61 74 61 74 |ot(%==(%|AttDatat|
|00000d90| 79 70 65 2c 20 69 6e 74 | 29 29 29 20 7b 0d 0a 20 |ype, int|))) {.. |
|00000da0| 20 20 20 20 20 20 20 25 | 41 74 74 4e 61 6d 65 7d | %|AttName}|
|00000db0| 0d 0a 7d 0d 0a 0d 0a 45 | 78 70 61 6e 73 69 6f 6e |..}....E|xpansion|
|00000dc0| 3a 0d 0a 67 65 6e 65 72 | 61 6c 2d 63 6f 6e 64 69 |:..gener|al-condi|
|00000dd0| 74 69 6f 6e 0d 0a 00 25 | 4e 6f 74 28 29 00 44 65 |tion...%|Not().De|
|00000de0| 63 6c 00 42 00 25 44 65 | 63 6c 00 64 65 63 6c 61 |cl.B.%De|cl.decla|
|00000df0| 72 65 73 20 61 72 67 75 | 6d 65 6e 74 20 61 73 20 |res argu|ment as |
|00000e00| 61 20 76 61 72 69 61 62 | 6c 65 0d 0a 61 6e 64 20 |a variab|le..and |
|00000e10| 6f 70 74 69 6f 6e 61 6c | 6c 79 20 69 6e 69 74 69 |optional|ly initi|
|00000e20| 61 6c 69 7a 65 73 20 69 | 74 0d 0a 0d 0a 42 61 73 |alizes i|t....Bas|
|00000e30| 69 63 20 53 79 6e 74 61 | 78 20 45 78 61 6d 70 6c |ic Synta|x Exampl|
|00000e40| 65 3a 0d 0a 25 44 65 63 | 6c 28 3c 61 72 67 3e 2c |e:..%Dec|l(<arg>,|
|00000e50| 3c 69 6e 69 74 69 61 6c | 20 76 61 6c 75 65 3e 29 |<initial| value>)|
|00000e60| 00 25 44 65 63 6c 28 69 | 2c 30 29 00 3a 00 43 00 |.%Decl(i|,0).:.C.|
|00000e70| 25 3a 00 72 65 74 75 72 | 6e 73 20 74 68 65 20 76 |%:.retur|ns the v|
|00000e80| 61 6c 75 65 20 6f 66 20 | 74 68 65 20 67 69 76 65 |alue of |the give|
|00000e90| 6e 20 76 61 72 69 61 62 | 6c 65 0d 0a 0d 0a 42 61 |n variab|le....Ba|
|00000ea0| 73 69 63 20 53 79 6e 74 | 61 78 20 45 78 61 6d 70 |sic Synt|ax Examp|
|00000eb0| 6c 65 3a 0d 0a 25 3a 3c | 76 61 72 69 61 62 6c 65 |le:..%:<|variable|
|00000ec0| 3e 00 25 3a 00 3d 00 44 | 00 25 3d 00 61 73 73 69 |>.%:.=.D|.%=.assi|
|00000ed0| 67 6e 73 20 61 20 76 61 | 6c 75 65 20 74 6f 20 61 |gns a va|lue to a|
|00000ee0| 20 76 61 72 69 61 62 6c | 65 0d 0a 0d 0a 42 61 73 | variabl|e....Bas|
|00000ef0| 69 63 20 53 79 6e 74 61 | 78 20 45 78 61 6d 70 6c |ic Synta|x Exampl|
|00000f00| 65 3a 0d 0a 25 3d 28 3c | 76 61 72 69 61 62 6c 65 |e:..%=(<|variable|
|00000f10| 3e 2c 3c 6d 61 63 72 6f | 20 63 6f 64 65 3e 29 00 |>,<macro| code>).|
|00000f20| 25 3d 28 2c 29 00 2b 00 | 45 00 25 3c 61 72 69 74 |%=(,).+.|E.%<arit|
|00000f30| 68 6d 65 74 69 63 20 6f | 70 3e 28 2c 29 00 41 72 |hmetic o|p>(,).Ar|
|00000f40| 69 74 68 6d 65 74 69 63 | 20 4f 70 65 72 61 74 6f |ithmetic| Operato|
|00000f50| 72 69 6f 6e 3a 0d 0a 20 | 20 2b 2c 2d 2c 2a 2c 2f |rion:.. | +,-,*,/|
|00000f60| 0d 0a 0d 0a 42 61 73 69 | 63 20 53 79 6e 74 61 78 |....Basi|c Syntax|
|00000f70| 3a 0d 0a 25 2b 28 3c 6d | 61 63 72 6f 20 63 6f 64 |:..%+(<m|acro cod|
|00000f80| 65 31 3e 2c 20 3c 6d 61 | 63 72 6f 20 63 6f 64 65 |e1>, <ma|cro code|
|00000f90| 32 3e 29 0d 0a 00 25 2b | 28 2c 29 00 2d 00 46 00 |2>)...%+|(,).-.F.|
|00000fa0| 00 00 00 2a 00 47 00 00 | 00 00 2f 00 48 00 00 00 |...*.G..|../.H...|
|00000fb0| 00 43 6f 6e 63 61 74 00 | 49 00 25 43 6f 6e 63 61 |.Concat.|I.%Conca|
|00000fc0| 74 00 63 6f 6e 63 61 74 | 65 6e 61 74 65 73 20 74 |t.concat|enates t|
|00000fd0| 77 6f 20 76 61 6c 75 65 | 73 20 61 6e 64 20 72 65 |wo value|s and re|
|00000fe0| 74 75 72 6e 73 20 74 68 | 65 20 72 65 73 75 6c 74 |turns th|e result|
|00000ff0| 0d 0a 0d 0a 42 61 73 69 | 63 20 53 79 6e 74 61 78 |....Basi|c Syntax|
|00001000| 20 45 78 61 6d 70 6c 65 | 3a 0d 0a 25 43 6f 6e 63 | Example|:..%Conc|
|00001010| 61 74 28 3c 76 61 6c 75 | 65 31 3e 2c 3c 76 61 6c |at(<valu|e1>,<val|
|00001020| 75 65 32 3e 29 00 25 43 | 6f 6e 63 61 74 28 2c 29 |ue2>).%C|oncat(,)|
|00001030| 00 49 66 00 4a 00 25 49 | 66 28 29 00 42 61 73 69 |.If.J.%I|f().Basi|
|00001040| 63 20 53 79 6e 74 61 78 | 3a 0d 0a 25 49 66 20 28 |c Syntax|:..%If (|
|00001050| 3c 70 72 65 64 69 63 61 | 74 65 3e 29 20 7b 3c 6d |<predica|te>) {<m|
|00001060| 61 63 72 6f 20 63 6f 64 | 65 3e 7d 0d 0a 0d 0a 42 |acro cod|e>}....B|
|00001070| 61 73 69 63 20 53 79 6e | 74 61 78 20 45 78 61 6d |asic Syn|tax Exam|
|00001080| 70 6c 65 3a 0d 0a 25 46 | 6f 72 45 61 63 68 41 74 |ple:..%F|orEachAt|
|00001090| 74 28 29 20 7b 0d 0a 20 | 20 20 25 49 66 28 25 41 |t() {.. | %If(%A|
|000010a0| 74 74 49 73 50 4b 29 20 | 7b 0d 0a 20 20 20 20 20 |ttIsPK) |{.. |
|000010b0| 20 20 20 25 41 74 74 4e | 61 6d 65 20 2d 3e 20 50 | %AttN|ame -> P|
|000010c0| 4b 7d 0d 0a 7d 0d 0a 0d | 0a 45 78 70 61 6e 73 69 |K}..}...|.Expansi|
|000010d0| 6f 6e 3a 0d 0a 6d 61 73 | 74 65 72 2d 6e 75 6d 62 |on:..mas|ter-numb|
|000010e0| 65 72 20 2d 3e 20 50 4b | 0d 0a 6d 6f 76 69 65 2d |er -> PK|..movie-|
|000010f0| 63 6f 70 79 2d 6e 75 6d | 62 65 72 20 2d 3e 20 50 |copy-num|ber -> P|
|00001100| 4b 0d 0a 0d 0a 46 75 6c | 6c 20 53 79 6e 74 61 78 |K....Ful|l Syntax|
|00001110| 3a 0d 0a 25 49 66 20 28 | 3c 70 72 65 64 69 63 61 |:..%If (|<predica|
|00001120| 74 65 3e 29 20 7b 3c 6d | 61 63 72 6f 20 63 6f 64 |te>) {<m|acro cod|
|00001130| 65 3e 7d 20 25 45 6c 73 | 65 20 7b 3c 6d 61 63 72 |e>} %Els|e {<macr|
|00001140| 6f 20 63 6f 64 65 3e 7d | 0d 0a 00 25 49 66 20 28 |o code>}|...%If (|
|00001150| 29 20 7b 0d 0a 7d 00 54 | 72 69 67 67 65 72 52 65 |) {..}.T|riggerRe|
|00001160| 6c 52 49 00 4b 00 25 54 | 72 69 67 67 65 72 52 65 |lRI.K.%T|riggerRe|
|00001170| 6c 52 49 28 29 00 46 75 | 6c 6c 20 53 79 6e 74 61 |lRI().Fu|ll Synta|
|00001180| 78 3a 0d 0a 25 54 72 69 | 67 67 65 72 52 65 6c 52 |x:..%Tri|ggerRelR|
|00001190| 49 28 3c 61 63 74 69 6f | 6e 3e 2c 3c 74 79 70 65 |I(<actio|n>,<type|
|000011a0| 3e 2c 3c 69 6e 74 65 67 | 72 69 74 79 3e 29 0d 0a |>,<integ|rity>)..|
|000011b0| 0d 0a 46 75 6c 6c 20 53 | 79 6e 74 61 78 20 45 78 |..Full S|yntax Ex|
|000011c0| 61 6d 70 6c 65 3a 0d 0a | 25 46 6f 72 45 61 63 68 |ample:..|%ForEach|
|000011d0| 43 68 69 6c 64 52 65 6c | 28 29 20 7b 0d 0a 20 20 |ChildRel|() {.. |
|000011e0| 25 49 66 28 25 54 72 69 | 67 67 65 72 52 65 6c 52 |%If(%Tri|ggerRelR|
|000011f0| 49 28 55 70 64 61 74 65 | 2c 20 43 68 69 6c 64 2c |I(Update|, Child,|
|00001200| 20 43 61 73 63 61 64 65 | 29 29 20 7b 25 56 65 72 | Cascade|)) {%Ver|
|00001210| 62 50 68 72 61 73 65 20 | 43 68 69 6c 64 20 55 70 |bPhrase |Child Up|
|00001220| 64 61 74 65 20 43 61 73 | 63 61 64 65 7d 0d 0a 7d |date Cas|cade}..}|
|00001230| 0d 0a 45 78 70 61 6e 73 | 69 6f 6e 3a 0d 0a 69 73 |..Expans|ion:..is|
|00001240| 20 72 65 6e 74 65 64 20 | 75 6e 64 65 72 20 43 68 | rented |under Ch|
|00001250| 69 6c 64 20 55 70 64 61 | 74 65 20 43 61 73 63 61 |ild Upda|te Casca|
|00001260| 64 65 0d 0a 0d 0a 55 73 | 61 67 65 3a 0d 0a 3c 61 |de....Us|age:..<a|
|00001270| 63 74 69 6f 6e 3e 20 6d | 75 73 74 20 62 65 20 49 |ction> m|ust be I|
|00001280| 6e 73 65 72 74 2c 20 44 | 65 6c 65 74 65 2c 20 6f |nsert, D|elete, o|
|00001290| 72 20 55 70 64 61 74 65 | 0d 0a 3c 74 79 70 65 3e |r Update|..<type>|
|000012a0| 20 6d 75 73 74 20 62 65 | 20 50 61 72 65 6e 74 20 | must be| Parent |
|000012b0| 6f 72 20 43 68 69 6c 64 | 0d 0a 3c 69 6e 74 65 67 |or Child|..<integ|
|000012c0| 72 69 74 79 3e 20 6d 75 | 73 74 20 62 65 20 49 6e |rity> mu|st be In|
|000012d0| 73 65 72 74 2c 20 43 61 | 73 63 61 64 65 2c 20 53 |sert, Ca|scade, S|
|000012e0| 65 74 4e 75 6c 6c 2c 20 | 6f 72 20 53 65 74 44 65 |etNull, |or SetDe|
|000012f0| 66 61 75 6c 74 00 25 54 | 72 69 67 67 65 72 52 65 |fault.%T|riggerRe|
|00001300| 6c 52 49 28 29 20 7b 0d | 0a 7d 00 50 68 79 73 52 |lRI() {.|.}.PhysR|
|00001310| 65 6c 4e 61 6d 65 00 4c | 00 25 50 68 79 73 52 65 |elName.L|.%PhysRe|
|00001320| 6c 4e 61 6d 65 00 42 61 | 73 69 63 20 53 79 6e 74 |lName.Ba|sic Synt|
|00001330| 61 78 3a 0d 0a 25 50 68 | 79 73 52 65 6c 4e 61 6d |ax:..%Ph|ysRelNam|
|00001340| 65 0d 0a 0d 0a 42 61 73 | 69 63 20 53 79 6e 74 61 |e....Bas|ic Synta|
|00001350| 78 20 45 78 61 6d 70 6c | 65 3a 0d 0a 25 50 68 79 |x Exampl|e:..%Phy|
|00001360| 73 52 65 6c 4e 61 6d 65 | 0d 0a 45 78 70 61 6e 73 |sRelName|..Expans|
|00001370| 69 6f 6e 3a 0d 0a 69 73 | 5f 72 65 6e 74 65 64 5f |ion:..is|_rented_|
|00001380| 75 6e 64 65 72 00 25 50 | 68 79 73 52 65 6c 4e 61 |under.%P|hysRelNa|
|00001390| 6d 65 00 43 61 72 64 69 | 6e 61 6c 69 74 79 00 4d |me.Cardi|nality.M|
|000013a0| 00 25 43 61 72 64 69 6e | 61 6c 69 74 79 00 42 61 |.%Cardin|ality.Ba|
|000013b0| 73 69 63 20 53 79 6e 74 | 61 78 3a 0d 0a 25 43 61 |sic Synt|ax:..%Ca|
|000013c0| 72 64 69 6e 61 6c 69 74 | 79 0d 0a 0d 0a 42 61 73 |rdinalit|y....Bas|
|000013d0| 69 63 20 53 79 6e 74 61 | 78 20 45 78 61 6d 70 6c |ic Synta|x Exampl|
|000013e0| 65 3a 0d 0a 25 43 61 72 | 64 69 6e 61 6c 69 74 79 |e:..%Car|dinality|
|000013f0| 0d 0a 45 78 70 61 6e 73 | 69 6f 6e 3a 0d 0a 50 00 |..Expans|ion:..P.|
|00001400| 25 43 61 72 64 69 6e 61 | 6c 69 74 79 00 53 75 62 |%Cardina|lity.Sub|
|00001410| 73 74 72 00 4e 00 25 53 | 75 62 73 74 72 28 29 00 |str.N.%S|ubstr().|
|00001420| 42 61 73 69 63 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |Basic Sy|ntax:..%|
|00001430| 53 75 62 73 74 72 28 3c | 6d 61 63 72 6f 20 63 6f |Substr(<|macro co|
|00001440| 64 65 3e 2c 3c 69 6e 69 | 74 69 61 6c 20 70 6f 73 |de>,<ini|tial pos|
|00001450| 3e 29 0d 0a 0d 0a 42 61 | 73 69 63 20 53 79 6e 74 |>)....Ba|sic Synt|
|00001460| 61 78 20 45 78 61 6d 70 | 6c 65 3a 0d 0a 25 53 75 |ax Examp|le:..%Su|
|00001470| 62 73 74 72 28 61 62 63 | 64 65 66 67 2c 34 29 0d |bstr(abc|defg,4).|
|00001480| 0a 0d 0a 45 78 70 61 6e | 73 69 6f 6e 3a 0d 0a 64 |...Expan|sion:..d|
|00001490| 65 66 67 0d 0a 0d 0a 46 | 75 6c 6c 20 53 79 6e 74 |efg....F|ull Synt|
|000014a0| 61 78 3a 0d 0a 25 53 75 | 62 73 74 72 28 3c 6d 61 |ax:..%Su|bstr(<ma|
|000014b0| 63 72 6f 20 63 6f 64 65 | 3e 2c 3c 69 6e 69 74 69 |cro code|>,<initi|
|000014c0| 61 6c 20 70 6f 73 3e 2c | 3c 6c 65 6e 67 74 68 3e |al pos>,|<length>|
|000014d0| 29 0d 0a 0d 0a 46 75 6c | 6c 20 53 79 6e 74 61 78 |)....Ful|l Syntax|
|000014e0| 20 45 78 61 6d 70 6c 65 | 3a 0d 0a 25 53 75 62 73 | Example|:..%Subs|
|000014f0| 74 72 28 61 62 63 64 65 | 66 67 2c 34 2c 33 29 0d |tr(abcde|fg,4,3).|
|00001500| 0a 0d 0a 45 78 70 61 6e | 73 69 6f 6e 3a 0d 0a 64 |...Expan|sion:..d|
|00001510| 65 66 00 25 53 75 62 73 | 74 72 28 2c 2c 29 00 41 |ef.%Subs|tr(,,).A|
|00001520| 74 74 50 68 79 73 44 61 | 74 61 74 79 70 65 00 4f |ttPhysDa|tatype.O|
|00001530| 00 25 41 74 74 50 68 79 | 73 44 61 74 61 74 79 70 |.%AttPhy|sDatatyp|
|00001540| 65 00 42 61 73 69 63 20 | 53 79 6e 74 61 78 3a 0d |e.Basic |Syntax:.|
|00001550| 0a 25 41 74 74 50 68 79 | 73 44 61 74 61 74 79 70 |.%AttPhy|sDatatyp|
|00001560| 65 0d 0a 0d 0a 42 61 73 | 69 63 20 53 79 6e 74 61 |e....Bas|ic Synta|
|00001570| 78 20 45 78 61 6d 70 6c | 65 3a 0d 0a 25 46 6f 72 |x Exampl|e:..%For|
|00001580| 45 61 63 68 41 74 74 28 | 29 20 7b 0d 0a 20 20 20 |EachAtt(|) {.. |
|00001590| 20 25 41 74 74 4e 61 6d | 65 20 2d 3e 20 25 41 74 | %AttNam|e -> %At|
|000015a0| 74 50 68 79 73 44 61 74 | 61 74 79 70 65 0d 0a 7d |tPhysDat|atype..}|
|000015b0| 0d 0a 0d 0a 45 78 70 61 | 6e 73 69 6f 6e 3a 0d 0a |....Expa|nsion:..|
|000015c0| 6d 61 73 74 65 72 2d 6e | 75 6d 62 65 72 20 2d 3e |master-n|umber ->|
|000015d0| 20 69 6e 74 0d 0a 6d 6f | 76 69 65 2d 63 6f 70 79 | int..mo|vie-copy|
|000015e0| 2d 6e 75 6d 62 65 72 20 | 2d 3e 20 69 6e 74 0d 0a |-number |-> int..|
|000015f0| 67 65 6e 65 72 61 6c 2d | 63 6f 6e 64 69 74 69 6f |general-|conditio|
|00001600| 6e 20 2d 3e 20 76 61 72 | 63 68 61 72 28 31 30 29 |n -> var|char(10)|
|00001610| 0d 0a 0d 0a 4e 6f 74 65 | 3a 0d 0a 72 65 74 75 72 |....Note|:..retur|
|00001620| 6e 73 20 61 20 62 75 69 | 6c 74 69 6e 20 64 61 74 |ns a bui|ltin dat|
|00001630| 61 74 79 70 65 20 65 76 | 65 6e 20 69 66 20 74 68 |atype ev|en if th|
|00001640| 65 20 61 74 74 72 69 62 | 75 74 65 0d 0a 69 73 20 |e attrib|ute..is |
|00001650| 61 74 74 61 63 68 65 64 | 20 74 6f 20 61 20 75 73 |attached| to a us|
|00001660| 65 72 2d 64 65 66 69 6e | 65 64 20 64 61 74 61 74 |er-defin|ed datat|
|00001670| 79 70 65 00 25 41 74 74 | 50 68 79 73 44 61 74 61 |ype.%Att|PhysData|
|00001680| 74 79 70 65 00 44 61 74 | 65 74 69 6d 65 00 50 00 |type.Dat|etime.P.|
|00001690| 25 44 61 74 65 74 69 6d | 65 00 42 61 73 69 63 20 |%Datetim|e.Basic |
|000016a0| 53 79 6e 74 61 78 3a 0d | 0a 25 44 61 74 65 74 69 |Syntax:.|.%Dateti|
|000016b0| 6d 65 0d 0a 0d 0a 42 61 | 73 69 63 20 53 79 6e 74 |me....Ba|sic Synt|
|000016c0| 61 78 20 45 78 61 6d 70 | 6c 65 3a 0d 0a 25 44 61 |ax Examp|le:..%Da|
|000016d0| 74 65 74 69 6d 65 0d 0a | 57 65 64 20 46 65 62 20 |tetime..|Wed Feb |
|000016e0| 31 37 20 31 32 3a 35 36 | 3a 31 36 20 31 39 39 33 |17 12:56|:16 1993|
|000016f0| 00 25 44 61 74 65 74 69 | 6d 65 00 41 74 74 44 65 |.%Dateti|me.AttDe|
|00001700| 66 61 75 6c 74 00 51 00 | 25 41 74 74 44 65 66 61 |fault.Q.|%AttDefa|
|00001710| 75 6c 74 00 72 65 74 75 | 72 6e 73 20 74 68 65 20 |ult.retu|rns the |
|00001720| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 64 65 66 61 |name of |the defa|
|00001730| 75 6c 74 0d 0a 61 74 74 | 61 63 68 65 64 20 74 6f |ult..att|ached to|
|00001740| 20 74 68 65 20 67 69 76 | 65 6e 20 61 74 74 72 69 | the giv|en attri|
|00001750| 62 75 74 65 0d 0a 00 25 | 41 74 74 44 65 66 61 75 |bute...%|AttDefau|
|00001760| 6c 74 28 29 00 41 74 74 | 44 65 66 00 52 00 25 41 |lt().Att|Def.R.%A|
|00001770| 74 74 44 65 66 00 72 65 | 74 75 72 6e 73 20 74 68 |ttDef.re|turns th|
|00001780| 65 20 61 74 74 72 69 62 | 75 74 65 27 73 20 64 65 |e attrib|ute's de|
|00001790| 66 69 6e 69 74 69 6f 6e | 0d 0a 00 25 41 74 74 44 |finition|...%AttD|
|000017a0| 65 66 00 41 74 74 56 61 | 6c 69 64 61 74 69 6f 6e |ef.AttVa|lidation|
|000017b0| 00 53 00 25 41 74 74 56 | 61 6c 69 64 61 74 69 6f |.S.%AttV|alidatio|
|000017c0| 6e 00 72 65 74 75 72 6e | 73 20 74 68 65 20 6e 61 |n.return|s the na|
|000017d0| 6d 65 20 6f 66 20 74 68 | 65 20 76 61 6c 69 64 61 |me of th|e valida|
|000017e0| 74 69 6f 6e 0d 0a 61 74 | 74 61 63 68 65 64 20 74 |tion..at|tached t|
|000017f0| 6f 20 74 68 65 20 67 69 | 76 65 6e 20 61 74 74 72 |o the gi|ven attr|
|00001800| 69 62 75 74 65 0d 0a 00 | 25 41 74 74 56 61 6c 69 |ibute...|%AttVali|
|00001810| 64 61 74 69 6f 6e 00 56 | 61 6c 69 64 61 74 69 6f |dation.V|alidatio|
|00001820| 6e 48 61 73 56 61 6c 69 | 64 56 61 6c 75 65 73 00 |nHasVali|dValues.|
|00001830| 54 00 25 56 61 6c 69 64 | 61 74 69 6f 6e 48 61 73 |T.%Valid|ationHas|
|00001840| 56 61 6c 69 64 56 61 6c | 75 65 73 00 54 52 55 45 |ValidVal|ues.TRUE|
|00001850| 20 69 73 20 72 65 74 75 | 72 6e 65 64 20 69 66 20 | is retu|rned if |
|00001860| 74 68 65 20 67 69 76 65 | 6e 0d 0a 76 61 6c 69 64 |the give|n..valid|
|00001870| 61 74 69 6f 6e 20 68 61 | 73 20 61 6e 79 20 76 61 |ation ha|s any va|
|00001880| 6c 69 64 20 76 61 6c 75 | 65 73 2c 0d 0a 6f 74 68 |lid valu|es,..oth|
|00001890| 65 72 77 69 73 65 20 46 | 41 4c 53 45 20 69 73 20 |erwise F|ALSE is |
|000018a0| 72 65 74 75 72 6e 65 64 | 0d 0a 0d 0a 42 61 73 69 |returned|....Basi|
|000018b0| 63 20 53 79 6e 74 61 78 | 3a 0d 0a 25 56 61 6c 69 |c Syntax|:..%Vali|
|000018c0| 64 61 74 69 6f 6e 48 61 | 73 56 61 6c 69 64 56 61 |dationHa|sValidVa|
|000018d0| 6c 75 65 73 28 3c 6e 61 | 6d 65 20 6f 66 20 76 61 |lues(<na|me of va|
|000018e0| 6c 69 64 61 74 69 6f 6e | 3e 29 0d 0a 0d 0a 00 25 |lidation|>).....%|
|000018f0| 56 61 6c 69 64 61 74 69 | 6f 6e 48 61 73 56 61 6c |Validati|onHasVal|
|00001900| 69 64 56 61 6c 75 65 73 | 00 46 6f 72 45 61 63 68 |idValues|.ForEach|
|00001910| 56 61 6c 69 64 56 61 6c | 75 65 00 55 00 25 46 6f |ValidVal|ue.U.%Fo|
|00001920| 72 45 61 63 68 56 61 6c | 69 64 56 61 6c 75 65 28 |rEachVal|idValue(|
|00001930| 29 00 6d 61 63 72 6f 73 | 20 77 69 74 68 69 6e 20 |).macros| within |
|00001940| 74 68 65 20 73 63 6f 70 | 65 20 6f 66 20 74 68 65 |the scop|e of the|
|00001950| 0d 0a 62 72 61 63 65 73 | 20 61 72 65 20 65 76 61 |..braces| are eva|
|00001960| 6c 75 61 74 65 64 20 66 | 6f 72 20 65 61 63 68 20 |luated f|or each |
|00001970| 76 61 6c 69 64 0d 0a 76 | 61 6c 75 65 20 6f 66 20 |valid..v|alue of |
|00001980| 74 68 65 20 67 69 76 65 | 6e 20 76 61 6c 69 64 61 |the give|n valida|
|00001990| 74 69 6f 6e 0d 0a 00 25 | 46 6f 72 45 61 63 68 56 |tion...%|ForEachV|
|000019a0| 61 6c 69 64 56 61 6c 75 | 65 28 3c 76 61 6c 69 64 |alidValu|e(<valid|
|000019b0| 61 74 69 6f 6e 20 6e 61 | 6d 65 3e 29 20 7b 0d 0a |ation na|me>) {..|
|000019c0| 7d 00 56 61 6c 69 64 56 | 61 6c 75 65 44 65 66 00 |}.ValidV|alueDef.|
|000019d0| 56 00 25 56 61 6c 69 64 | 56 61 6c 75 65 44 65 66 |V.%Valid|ValueDef|
|000019e0| 00 72 65 74 75 72 6e 73 | 20 74 68 65 20 64 65 66 |.returns| the def|
|000019f0| 69 6e 69 74 69 6f 6e 20 | 6f 66 20 61 0d 0a 76 61 |inition |of a..va|
|00001a00| 6c 69 64 20 76 61 6c 75 | 65 0d 0a 0d 0a 55 73 61 |lid valu|e....Usa|
|00001a10| 67 65 20 43 6f 6e 74 65 | 78 74 3a 0d 0a 20 20 20 |ge Conte|xt:.. |
|00001a20| 20 2d 20 77 69 74 68 69 | 6e 20 74 68 65 20 73 63 | - withi|n the sc|
|00001a30| 6f 70 65 20 6f 66 20 61 | 20 76 61 6c 69 64 20 76 |ope of a| valid v|
|00001a40| 61 6c 75 65 0d 0a 00 25 | 56 61 6c 69 64 56 61 6c |alue...%|ValidVal|
|00001a50| 75 65 44 65 66 00 56 61 | 6c 69 64 56 61 6c 75 65 |ueDef.Va|lidValue|
|00001a60| 00 57 00 25 56 61 6c 69 | 64 56 61 6c 75 65 00 72 |.W.%Vali|dValue.r|
|00001a70| 65 74 75 72 6e 73 20 74 | 68 65 20 64 61 74 61 20 |eturns t|he data |
|00001a80| 76 61 6c 75 65 20 6f 66 | 20 61 0d 0a 76 61 6c 69 |value of| a..vali|
|00001a90| 64 20 76 61 6c 75 65 0d | 0a 0d 0a 55 73 61 67 65 |d value.|...Usage|
|00001aa0| 20 43 6f 6e 74 65 78 74 | 3a 0d 0a 20 20 20 20 2d | Context|:.. -|
|00001ab0| 20 77 69 74 68 69 6e 20 | 74 68 65 20 73 63 6f 70 | within |the scop|
|00001ac0| 65 20 6f 66 20 61 20 76 | 61 6c 69 64 20 76 61 6c |e of a v|alid val|
|00001ad0| 75 65 0d 0a 00 25 56 61 | 6c 69 64 56 61 6c 75 65 |ue...%Va|lidValue|
|00001ae0| 00 4c 65 6e 00 58 00 25 | 4c 65 6e 00 72 65 74 75 |.Len.X.%|Len.retu|
|00001af0| 72 6e 73 20 74 68 65 20 | 73 74 72 69 6e 67 20 6c |rns the |string l|
|00001b00| 65 6e 67 74 68 20 6f 66 | 20 69 74 73 20 61 72 67 |ength of| its arg|
|00001b10| 75 6d 65 6e 74 0d 0a 0d | 0a 42 61 73 69 63 20 53 |ument...|.Basic S|
|00001b20| 79 6e 74 61 78 3a 0d 0a | 25 4c 65 6e 28 29 0d 0a |yntax:..|%Len()..|
|00001b30| 00 25 4c 65 6e 28 29 00 | 4d 61 78 00 59 00 25 4d |.%Len().|Max.Y.%M|
|00001b40| 61 78 28 29 00 72 65 74 | 75 72 6e 73 20 6d 61 78 |ax().ret|urns max|
|00001b50| 69 6d 75 6d 20 6f 66 20 | 74 77 6f 20 61 72 67 75 |imum of |two argu|
|00001b60| 6d 65 6e 74 73 0d 0a 0d | 0a 42 61 73 69 63 20 53 |ments...|.Basic S|
|00001b70| 79 6e 74 61 78 3a 0d 0a | 25 4d 61 78 28 3c 76 61 |yntax:..|%Max(<va|
|00001b80| 6c 31 3e 2c 3c 76 61 6c | 32 3e 29 0d 0a 00 25 4d |l1>,<val|2>)...%M|
|00001b90| 61 78 28 2c 29 00 4d 69 | 6e 00 5a 00 25 4d 69 6e |ax(,).Mi|n.Z.%Min|
|00001ba0| 00 72 65 74 75 72 6e 73 | 20 6d 69 6e 69 6d 75 6d |.returns| minimum|
|00001bb0| 20 6f 66 20 74 77 6f 20 | 61 72 67 75 6d 65 6e 74 | of two |argument|
|00001bc0| 73 0d 0a 0d 0a 25 4d 69 | 6e 28 3c 76 61 6c 31 3e |s....%Mi|n(<val1>|
|00001bd0| 2c 3c 76 61 6c 32 3e 29 | 0d 0a 0d 0a 42 61 73 69 |,<val2>)|....Basi|
|00001be0| 63 20 53 79 6e 74 61 78 | 3a 0d 0a 25 4d 69 6e 28 |c Syntax|:..%Min(|
|00001bf0| 3c 76 61 6c 31 3e 2c 3c | 76 61 6c 32 3e 29 0d 0a |<val1>,<|val2>)..|
|00001c00| 00 25 4d 69 6e 28 2c 29 | 00 53 75 62 73 74 69 74 |.%Min(,)|.Substit|
|00001c10| 75 74 65 00 5b 00 25 53 | 75 62 73 74 69 74 75 74 |ute.[.%S|ubstitut|
|00001c20| 65 00 73 75 62 73 74 69 | 74 75 74 65 73 20 67 69 |e.substi|tutes gi|
|00001c30| 76 65 6e 20 70 61 74 74 | 65 72 6e 28 32 6e 64 20 |ven patt|ern(2nd |
|00001c40| 61 72 67 29 0d 0a 77 69 | 74 68 20 67 69 76 65 6e |arg)..wi|th given|
|00001c50| 20 73 75 62 73 74 69 74 | 75 74 65 20 73 74 72 69 | substit|ute stri|
|00001c60| 6e 67 28 33 72 64 20 61 | 72 67 29 0d 0a 69 6e 20 |ng(3rd a|rg)..in |
|00001c70| 67 69 76 65 6e 20 73 74 | 72 69 6e 67 28 31 73 74 |given st|ring(1st|
|00001c80| 20 61 72 67 29 0d 0a 0d | 0a 42 61 73 69 63 20 53 | arg)...|.Basic S|
|00001c90| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|00001ca0| 25 53 75 62 73 74 69 74 | 75 74 65 28 3c 76 61 6c |%Substit|ute(<val|
|00001cb0| 75 65 3e 2c 3c 70 61 74 | 74 65 72 6e 3e 2c 3c 73 |ue>,<pat|tern>,<s|
|00001cc0| 75 62 73 74 69 74 75 74 | 65 3e 29 0d 0a 0d 0a 00 |ubstitut|e>).....|
|00001cd0| 25 53 75 62 73 74 69 74 | 75 74 65 28 2c 2c 29 00 |%Substit|ute(,,).|
|00001ce0| 56 61 6c 69 64 61 74 69 | 6f 6e 52 75 6c 65 00 5c |Validati|onRule.\|
|00001cf0| 00 25 56 61 6c 69 64 61 | 74 69 6f 6e 52 75 6c 65 |.%Valida|tionRule|
|00001d00| 00 72 65 74 75 72 6e 73 | 20 61 20 76 61 6c 69 64 |.returns| a valid|
|00001d10| 61 74 69 6f 6e 27 73 20 | 73 65 72 76 65 72 2d 73 |ation's |server-s|
|00001d20| 69 64 65 20 72 75 6c 65 | 0d 0a 0d 0a 42 61 73 69 |ide rule|....Basi|
|00001d30| 63 20 53 79 6e 74 61 78 | 3a 0d 0a 25 56 61 6c 69 |c Syntax|:..%Vali|
|00001d40| 64 61 74 69 6f 6e 52 75 | 6c 65 28 3c 76 61 6c 69 |dationRu|le(<vali|
|00001d50| 64 61 74 69 6f 6e 20 6e | 61 6d 65 3e 29 20 6f 72 |dation n|ame>) or|
|00001d60| 0d 0a 25 56 61 6c 69 64 | 61 74 69 6f 6e 52 75 6c |..%Valid|ationRul|
|00001d70| 65 0d 0a 0d 0a 55 73 61 | 67 65 20 43 6f 6e 74 65 |e....Usa|ge Conte|
|00001d80| 78 74 3a 0d 0a 20 20 20 | 20 25 56 61 6c 69 64 61 |xt:.. | %Valida|
|00001d90| 74 69 6f 6e 52 75 6c 65 | 28 3c 76 61 6c 69 64 61 |tionRule|(<valida|
|00001da0| 74 69 6f 6e 20 6e 61 6d | 65 3e 29 20 2d 20 61 6e |tion nam|e>) - an|
|00001db0| 79 77 68 65 72 65 0d 0a | 20 20 20 20 25 56 61 6c |ywhere..| %Val|
|00001dc0| 69 64 61 74 69 6f 6e 52 | 75 6c 65 20 2d 20 77 69 |idationR|ule - wi|
|00001dd0| 74 68 69 6e 20 74 68 65 | 20 73 63 6f 70 65 20 6f |thin the| scope o|
|00001de0| 66 20 61 20 76 61 6c 69 | 64 61 74 69 6f 6e 0d 0a |f a vali|dation..|
|00001df0| 00 25 56 61 6c 69 64 61 | 74 69 6f 6e 52 75 6c 65 |.%Valida|tionRule|
|00001e00| 00 49 6e 63 6c 75 64 65 | 00 5d 00 25 49 6e 63 6c |.Include|.].%Incl|
|00001e10| 75 64 65 00 42 61 73 69 | 63 20 53 79 6e 74 61 78 |ude.Basi|c Syntax|
|00001e20| 3a 0d 0a 25 49 6e 63 6c | 75 64 65 28 22 3c 70 61 |:..%Incl|ude("<pa|
|00001e30| 74 68 20 6e 61 6d 65 3e | 22 29 0d 0a 0d 0a 42 61 |th name>|")....Ba|
|00001e40| 73 69 63 20 53 79 6e 74 | 61 78 20 45 78 61 6d 70 |sic Synt|ax Examp|
|00001e50| 6c 65 3a 0d 0a 25 49 6e | 63 6c 75 64 65 28 22 3c |le:..%In|clude("<|
|00001e60| 63 3a 5c 65 72 77 69 6e | 5c 74 72 69 67 67 65 72 |c:\erwin|\trigger|
|00001e70| 2e 74 64 6c 22 29 00 25 | 49 6e 63 6c 75 64 65 28 |.tdl").%|Include(|
|00001e80| 22 22 29 00 45 6e 74 69 | 74 79 49 64 00 5e 00 25 |"").Enti|tyId.^.%|
|00001e90| 45 6e 74 69 74 79 49 64 | 00 42 61 73 69 63 20 53 |EntityId|.Basic S|
|00001ea0| 79 6e 74 61 78 3a 0d 0a | 25 45 6e 74 69 74 79 49 |yntax:..|%EntityI|
|00001eb0| 64 28 29 0d 0a 0d 0a 42 | 61 73 69 63 20 53 79 6e |d()....B|asic Syn|
|00001ec0| 74 61 78 20 45 78 61 6d | 70 6c 65 3a 0d 0a 25 45 |tax Exam|ple:..%E|
|00001ed0| 6e 74 69 74 79 49 64 28 | 29 0d 0a 45 78 70 61 6e |ntityId(|)..Expan|
|00001ee0| 73 69 6f 6e 3a 31 0d 0a | 0d 0a 46 75 6c 6c 20 53 |sion:1..|..Full S|
|00001ef0| 79 6e 74 61 78 3a 0d 0a | 25 45 6e 74 69 74 79 49 |yntax:..|%EntityI|
|00001f00| 64 28 3c 74 61 62 6c 65 | 3e 29 0d 0a 0d 0a 46 75 |d(<table|>)....Fu|
|00001f10| 6c 6c 20 53 79 6e 74 61 | 78 20 45 78 61 6d 70 6c |ll Synta|x Exampl|
|00001f20| 65 3a 0d 0a 25 45 6e 74 | 69 74 79 49 64 28 25 50 |e:..%Ent|ityId(%P|
|00001f30| 61 72 65 6e 74 29 0d 0a | 45 78 70 61 6e 73 69 6f |arent)..|Expansio|
|00001f40| 6e 3a 31 00 25 45 6e 74 | 69 74 79 49 64 28 29 00 |n:1.%Ent|ityId().|
|00001f50| 41 74 74 49 64 00 5f 00 | 25 41 74 74 49 64 00 42 |AttId._.|%AttId.B|
|00001f60| 61 73 69 63 20 53 79 6e | 74 61 78 3a 0d 0a 25 41 |asic Syn|tax:..%A|
|00001f70| 74 74 49 64 0d 0a 0d 0a | 42 61 73 69 63 20 53 79 |ttId....|Basic Sy|
|00001f80| 6e 74 61 78 20 45 78 61 | 6d 70 6c 65 3a 0d 0a 25 |ntax Exa|mple:..%|
|00001f90| 41 74 74 49 64 0d 0a 45 | 78 70 61 6e 73 69 6f 6e |AttId..E|xpansion|
|00001fa0| 3a 31 00 25 41 74 74 49 | 64 00 45 6e 74 69 74 79 |:1.%AttI|d.Entity|
|00001fb0| 4e 61 6d 65 00 60 00 25 | 45 6e 74 69 74 79 4e 61 |Name.`.%|EntityNa|
|00001fc0| 6d 65 00 42 61 73 69 63 | 20 53 79 6e 74 61 78 3a |me.Basic| Syntax:|
|00001fd0| 0d 0a 25 45 6e 74 69 74 | 79 4e 61 6d 65 28 29 0d |..%Entit|yName().|
|00001fe0| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 20 |...Basic| Syntax |
|00001ff0| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 45 6e 74 69 74 |Example:|..%Entit|
|00002000| 79 4e 61 6d 65 28 29 0d | 0a 45 78 70 61 6e 73 69 |yName().|.Expansi|
|00002010| 6f 6e 3a 4d 4f 56 49 45 | 20 52 45 4e 54 41 4c 20 |on:MOVIE| RENTAL |
|00002020| 52 45 43 4f 52 44 0d 0a | 0d 0a 46 75 6c 6c 20 53 |RECORD..|..Full S|
|00002030| 79 6e 74 61 78 3a 0d 0a | 25 45 6e 74 69 74 79 4e |yntax:..|%EntityN|
|00002040| 61 6d 65 28 3c 74 61 62 | 6c 65 3e 29 0d 0a 0d 0a |ame(<tab|le>)....|
|00002050| 46 75 6c 6c 20 53 79 6e | 74 61 78 20 45 78 61 6d |Full Syn|tax Exam|
|00002060| 70 6c 65 3a 0d 0a 25 45 | 6e 74 69 74 79 4e 61 6d |ple:..%E|ntityNam|
|00002070| 65 28 25 50 61 72 65 6e | 74 29 0d 0a 45 78 70 61 |e(%Paren|t)..Expa|
|00002080| 6e 73 69 6f 6e 3a 4d 4f | 56 49 45 20 43 4f 50 59 |nsion:MO|VIE COPY|
|00002090| 00 25 45 6e 74 69 74 79 | 4e 61 6d 65 28 29 00 52 |.%Entity|Name().R|
|000020a0| 65 6c 49 64 00 61 00 25 | 52 65 6c 49 64 00 42 61 |elId.a.%|RelId.Ba|
|000020b0| 73 69 63 20 53 79 6e 74 | 61 78 3a 0d 0a 25 52 65 |sic Synt|ax:..%Re|
|000020c0| 6c 49 64 0d 0a 0d 0a 42 | 61 73 69 63 20 53 79 6e |lId....B|asic Syn|
|000020d0| 74 61 78 20 45 78 61 6d | 70 6c 65 3a 0d 0a 25 52 |tax Exam|ple:..%R|
|000020e0| 65 6c 49 64 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |elId..Ex|pansion:|
|000020f0| 31 00 25 52 65 6c 49 64 | 00 41 74 74 49 73 52 6f |1.%RelId|.AttIsRo|
|00002100| 6c 65 6e 61 6d 65 64 00 | 62 00 25 41 74 74 49 73 |lenamed.|b.%AttIs|
|00002110| 52 6f 6c 65 6e 61 6d 65 | 64 00 42 61 73 69 63 20 |Rolename|d.Basic |
|00002120| 53 79 6e 74 61 78 3a 0d | 0a 25 41 74 74 49 73 52 |Syntax:.|.%AttIsR|
|00002130| 6f 6c 65 6e 61 6d 65 64 | 0d 0a 0d 0a 42 61 73 69 |olenamed|....Basi|
|00002140| 63 20 53 79 6e 74 61 78 | 20 45 78 61 6d 70 6c 65 |c Syntax| Example|
|00002150| 3a 0d 0a 25 46 6f 72 45 | 61 63 68 41 74 74 28 29 |:..%ForE|achAtt()|
|00002160| 20 7b 0d 0a 20 20 20 20 | 25 49 66 28 25 41 74 74 | {.. |%If(%Att|
|00002170| 49 73 52 6f 6c 65 6e 61 | 6d 65 64 29 20 7b 0d 0a |IsRolena|med) {..|
|00002180| 20 20 20 20 20 20 20 20 | 25 41 74 74 4e 61 6d 65 | |%AttName|
|00002190| 7d 0d 0a 7d 0d 0a 0d 0a | 45 78 70 61 6e 73 69 6f |}..}....|Expansio|
|000021a0| 6e 3a 0d 0a 72 65 6e 74 | 69 6e 67 5f 63 75 73 74 |n:..rent|ing_cust|
|000021b0| 6f 6d 65 72 0d 0a 00 25 | 41 74 74 49 73 52 6f 6c |omer...%|AttIsRol|
|000021c0| 65 6e 61 6d 65 64 00 52 | 65 6c 54 79 70 65 00 63 |enamed.R|elType.c|
|000021d0| 00 25 52 65 6c 54 79 70 | 65 00 42 61 73 69 63 20 |.%RelTyp|e.Basic |
|000021e0| 53 79 6e 74 61 78 3a 0d | 0a 25 52 65 6c 54 79 70 |Syntax:.|.%RelTyp|
|000021f0| 65 0d 0a 0d 0a 42 61 73 | 69 63 20 53 79 6e 74 61 |e....Bas|ic Synta|
|00002200| 78 20 45 78 61 6d 70 6c | 65 3a 0d 0a 25 52 65 6c |x Exampl|e:..%Rel|
|00002210| 54 79 70 65 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |Type..Ex|pansion:|
|00002220| 52 54 5f 49 44 00 25 52 | 65 6c 54 79 70 65 00 52 |RT_ID.%R|elType.R|
|00002230| 65 6c 49 73 4e 6f 6e 75 | 6c 6c 00 64 00 25 52 65 |elIsNonu|ll.d.%Re|
|00002240| 6c 49 73 4e 6f 6e 75 6c | 6c 00 42 61 73 69 63 20 |lIsNonul|l.Basic |
|00002250| 53 79 6e 74 61 78 3a 0d | 0a 25 52 65 6c 49 73 4e |Syntax:.|.%RelIsN|
|00002260| 6f 6e 75 6c 6c 0d 0a 0d | 0a 42 61 73 69 63 20 53 |onull...|.Basic S|
|00002270| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|00002280| 25 49 66 28 25 52 65 6c | 49 73 4e 6f 6e 75 6c 6c |%If(%Rel|IsNonull|
|00002290| 29 20 7b 0d 0a 20 20 20 | 25 56 65 72 62 50 68 72 |) {.. |%VerbPhr|
|000022a0| 61 73 65 7d 0d 0a 7d 0d | 0a 0d 0a 45 78 70 61 6e |ase}..}.|...Expan|
|000022b0| 73 69 6f 6e 3a 0d 0a 69 | 73 5f 72 65 6e 74 65 64 |sion:..i|s_rented|
|000022c0| 5f 75 6e 64 65 72 0d 0a | 00 25 52 65 6c 49 73 4e |_under..|.%RelIsN|
|000022d0| 6f 6e 75 6c 6c 00 4f 6c | 64 00 65 00 00 00 00 4e |onull.Ol|d.e....N|
|000022e0| 65 77 00 66 00 00 00 00 | 50 68 79 73 50 72 6f 70 |ew.f....|PhysProp|
|000022f0| 47 72 6f 75 70 00 67 00 | 00 00 00 50 68 79 73 50 |Group.g.|...PhysP|
|00002300| 72 6f 70 4e 61 6d 65 00 | 68 00 00 00 00 50 68 79 |ropName.|h....Phy|
|00002310| 73 50 72 6f 70 56 61 6c | 00 69 00 00 00 00 50 68 |sPropVal|.i....Ph|
|00002320| 79 73 50 72 6f 70 00 6a | 00 00 00 00 44 70 6f 4e |ysProp.j|....DpoN|
|00002330| 61 6d 65 00 6b 00 00 00 | 00 46 6f 72 45 61 63 68 |ame.k...|.ForEach|
|00002340| 50 68 79 73 50 72 6f 70 | 00 6c 00 00 00 00 46 6f |PhysProp|.l....Fo|
|00002350| 72 45 61 63 68 43 6f 6c | 50 68 79 73 50 72 6f 70 |rEachCol|PhysProp|
|00002360| 00 6d 00 00 00 00 54 65 | 6d 70 6c 61 74 65 4e 61 |.m....Te|mplateNa|
|00002370| 6d 65 00 6e 00 25 54 65 | 6d 70 6c 61 74 65 4e 61 |me.n.%Te|mplateNa|
|00002380| 6d 65 00 42 61 73 69 63 | 20 53 79 6e 74 61 78 3a |me.Basic| Syntax:|
|00002390| 0d 0a 25 54 65 6d 70 6c | 61 74 65 4e 61 6d 65 0d |..%Templ|ateName.|
|000023a0| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 20 |...Basic| Syntax |
|000023b0| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 54 65 6d 70 6c |Example:|..%Templ|
|000023c0| 61 74 65 4e 61 6d 65 0d | 0a 45 78 70 61 6e 73 69 |ateName.|.Expansi|
|000023d0| 6f 6e 3a 0d 0a 73 70 5f | 4d 4f 56 49 45 5f 52 45 |on:..sp_|MOVIE_RE|
|000023e0| 4e 54 41 4c 5f 52 45 43 | 4f 52 00 25 54 65 6d 70 |NTAL_REC|OR.%Temp|
|000023f0| 6c 61 74 65 4e 61 6d 65 | 00 55 70 70 65 72 00 6f |lateName|.Upper.o|
|00002400| 00 25 55 70 70 65 72 00 | 63 6f 6e 76 65 72 74 73 |.%Upper.|converts|
|00002410| 20 69 74 73 20 61 72 67 | 75 6d 65 6e 74 20 74 6f | its arg|ument to|
|00002420| 20 55 50 50 45 52 20 63 | 61 73 65 0d 0a 0d 0a 42 | UPPER c|ase....B|
|00002430| 61 73 69 63 20 53 79 6e | 74 61 78 3a 0d 0a 25 55 |asic Syn|tax:..%U|
|00002440| 70 70 65 72 28 3c 6d 61 | 63 72 6f 20 63 6f 64 65 |pper(<ma|cro code|
|00002450| 3e 29 0d 0a 00 25 55 70 | 70 65 72 28 29 00 4c 6f |>)...%Up|per().Lo|
|00002460| 77 65 72 00 70 00 25 4c | 6f 77 65 72 00 63 6f 6e |wer.p.%L|ower.con|
|00002470| 76 65 72 74 73 20 69 74 | 73 20 61 72 67 75 6d 65 |verts it|s argume|
|00002480| 6e 74 20 74 6f 20 6c 6f | 77 65 72 20 63 61 73 65 |nt to lo|wer case|
|00002490| 0d 0a 0d 0a 42 61 73 69 | 63 20 53 79 6e 74 61 78 |....Basi|c Syntax|
|000024a0| 3a 0d 0a 25 4c 6f 77 65 | 72 28 3c 6d 61 63 72 6f |:..%Lowe|r(<macro|
|000024b0| 20 63 6f 64 65 3e 29 0d | 0a 00 25 4c 6f 77 65 72 | code>).|..%Lower|
|000024c0| 28 29 00 44 42 4d 53 44 | 65 6c 69 6d 00 71 00 25 |().DBMSD|elim.q.%|
|000024d0| 44 42 4d 53 44 65 6c 69 | 6d 00 72 65 74 75 72 6e |DBMSDeli|m.return|
|000024e0| 73 20 74 68 65 20 44 42 | 4d 53 27 73 20 73 74 61 |s the DB|MS's sta|
|000024f0| 74 65 6d 65 6e 74 20 64 | 65 6c 69 6d 69 74 65 72 |tement d|elimiter|
|00002500| 0d 0a 00 25 44 42 4d 53 | 44 65 6c 69 6d 00 44 42 |...%DBMS|Delim.DB|
|00002510| 4d 53 54 72 69 67 67 65 | 72 44 65 6c 69 6d 00 72 |MSTrigge|rDelim.r|
|00002520| 00 25 44 42 4d 53 54 72 | 69 67 67 65 72 44 65 6c |.%DBMSTr|iggerDel|
|00002530| 69 6d 00 61 64 64 73 20 | 74 68 65 20 74 72 69 67 |im.adds |the trig|
|00002540| 67 65 72 20 64 65 6c 69 | 6d 65 74 65 72 20 73 74 |ger deli|meter st|
|00002550| 72 69 6e 67 73 0d 0a 25 | 44 42 4d 53 54 72 69 67 |rings..%|DBMSTrig|
|00002560| 67 65 72 44 65 6c 69 6d | 0d 0a 0d 0a 00 25 44 42 |gerDelim|.....%DB|
|00002570| 4d 53 54 72 69 67 67 65 | 72 44 65 6c 69 6d 00 44 |MSTrigge|rDelim.D|
|00002580| 42 4d 53 00 73 00 25 44 | 42 4d 53 00 72 65 74 75 |BMS.s.%D|BMS.retu|
|00002590| 72 6e 73 20 74 68 65 20 | 44 42 4d 53 20 6e 61 6d |rns the |DBMS nam|
|000025a0| 65 0d 0a 00 25 44 42 4d | 53 00 46 6f 72 45 61 63 |e...%DBM|S.ForEac|
|000025b0| 68 45 6e 74 69 74 79 00 | 74 00 25 46 6f 72 45 61 |hEntity.|t.%ForEa|
|000025c0| 63 68 45 6e 74 69 74 79 | 28 29 00 4c 6f 6f 70 73 |chEntity|().Loops|
|000025d0| 20 74 68 72 6f 75 67 68 | 20 61 6c 6c 20 65 6e 74 | through| all ent|
|000025e0| 69 74 69 65 73 20 69 6e | 20 74 68 65 0d 0a 63 75 |ities in| the..cu|
|000025f0| 72 72 65 6e 74 20 73 75 | 62 6a 65 63 74 20 61 72 |rrent su|bject ar|
|00002600| 65 61 2c 20 65 76 61 6c | 75 61 74 69 6e 67 20 74 |ea, eval|uating t|
|00002610| 68 65 0d 0a 6d 61 63 72 | 6f 20 63 6f 64 65 20 62 |he..macr|o code b|
|00002620| 65 74 77 65 65 6e 20 74 | 68 65 20 62 72 61 63 65 |etween t|he brace|
|00002630| 73 0d 0a 0d 0a 53 79 6e | 74 61 78 3a 0d 0a 25 46 |s....Syn|tax:..%F|
|00002640| 6f 72 45 61 63 68 45 6e | 74 69 74 79 28 5b 3c 74 |orEachEn|tity([<t|
|00002650| 61 62 6c 65 20 6e 61 6d | 65 3e 5d 29 20 7b 0d 0a |able nam|e>]) {..|
|00002660| 7d 0d 0a 0d 0a 42 61 73 | 69 63 20 53 79 6e 74 61 |}....Bas|ic Synta|
|00002670| 78 20 45 78 61 6d 70 6c | 65 3a 0d 0a 25 46 6f 72 |x Exampl|e:..%For|
|00002680| 45 61 63 68 45 6e 74 69 | 74 79 28 29 20 7b 0d 0a |EachEnti|ty() {..|
|00002690| 20 20 25 54 61 62 6c 65 | 4e 61 6d 65 0d 0a 7d 0d | %Table|Name..}.|
|000026a0| 0a 0d 0a 45 78 70 61 6e | 73 69 6f 6e 3a 0d 0a 4d |...Expan|sion:..M|
|000026b0| 4f 56 49 45 5f 43 4f 50 | 59 0d 0a 4d 4f 56 49 45 |OVIE_COP|Y..MOVIE|
|000026c0| 5f 52 45 4e 54 41 4c 5f | 52 45 43 4f 52 00 25 46 |_RENTAL_|RECOR.%F|
|000026d0| 6f 72 45 61 63 68 45 6e | 74 69 74 79 28 29 20 7b |orEachEn|tity() {|
|000026e0| 0d 0a 7d 00 46 6f 72 45 | 61 63 68 56 61 6c 69 64 |..}.ForE|achValid|
|000026f0| 61 74 69 6f 6e 00 75 00 | 25 46 6f 72 45 61 63 68 |ation.u.|%ForEach|
|00002700| 56 61 6c 69 64 61 74 69 | 6f 6e 28 29 00 4c 6f 6f |Validati|on().Loo|
|00002710| 70 73 20 74 68 72 6f 75 | 67 68 20 61 6c 6c 20 76 |ps throu|gh all v|
|00002720| 61 6c 69 64 61 74 69 6f | 6e 20 72 75 6c 65 73 2c |alidatio|n rules,|
|00002730| 0d 0a 65 76 61 6c 75 61 | 74 69 6e 67 20 74 68 65 |..evalua|ting the|
|00002740| 20 6d 61 63 72 6f 20 63 | 6f 64 65 20 62 65 74 77 | macro c|ode betw|
|00002750| 65 65 6e 20 74 68 65 0d | 0a 62 72 61 63 65 73 20 |een the.|.braces |
|00002760| 77 69 74 68 20 72 65 73 | 70 65 63 74 20 74 6f 20 |with res|pect to |
|00002770| 65 61 63 68 20 76 61 6c | 69 64 61 74 69 6f 6e 2e |each val|idation.|
|00002780| 0d 0a 0d 0a 42 61 73 69 | 63 20 53 79 6e 74 61 78 |....Basi|c Syntax|
|00002790| 3a 0d 0a 25 46 6f 72 45 | 61 63 68 56 61 6c 69 64 |:..%ForE|achValid|
|000027a0| 61 74 69 6f 6e 28 29 20 | 7b 0d 0a 7d 0d 0a 0d 0a |ation() |{..}....|
|000027b0| 42 61 73 69 63 20 53 79 | 6e 74 61 78 20 45 78 61 |Basic Sy|ntax Exa|
|000027c0| 6d 70 6c 65 3a 0d 0a 25 | 46 6f 72 45 61 63 68 56 |mple:..%|ForEachV|
|000027d0| 61 6c 69 64 61 74 69 6f | 6e 28 29 20 7b 0d 0a 20 |alidatio|n() {.. |
|000027e0| 20 25 56 61 6c 69 64 61 | 74 69 6f 6e 4e 61 6d 65 | %Valida|tionName|
|000027f0| 0d 0a 7d 0d 0a 00 25 46 | 6f 72 45 61 63 68 56 61 |..}...%F|orEachVa|
|00002800| 6c 69 64 61 74 69 6f 6e | 28 29 20 7b 0d 0a 7d 00 |lidation|() {..}.|
|00002810| 56 61 6c 69 64 61 74 69 | 6f 6e 4e 61 6d 65 00 76 |Validati|onName.v|
|00002820| 00 25 56 61 6c 69 64 61 | 74 69 6f 6e 4e 61 6d 65 |.%Valida|tionName|
|00002830| 00 72 65 74 75 72 6e 73 | 20 61 6e 20 45 52 77 69 |.returns| an ERwi|
|00002840| 6e 20 76 61 6c 69 64 61 | 74 69 6f 6e 27 73 20 6e |n valida|tion's n|
|00002850| 61 6d 65 0d 0a 0d 0a 42 | 61 73 69 63 20 53 79 6e |ame....B|asic Syn|
|00002860| 74 61 78 3a 0d 0a 25 56 | 61 6c 69 64 61 74 69 6f |tax:..%V|alidatio|
|00002870| 6e 4e 61 6d 65 0d 0a 0d | 0a 55 73 61 67 65 20 43 |nName...|.Usage C|
|00002880| 6f 6e 74 65 78 74 3a 0d | 0a 20 20 20 20 2d 20 77 |ontext:.|. - w|
|00002890| 69 74 68 69 6e 20 74 68 | 65 20 73 63 6f 70 65 20 |ithin th|e scope |
|000028a0| 6f 66 20 61 0d 0a 20 20 | 20 20 76 61 6c 69 64 61 |of a.. | valida|
|000028b0| 74 69 6f 6e 20 28 69 2e | 65 2e 20 25 46 6f 72 45 |tion (i.|e. %ForE|
|000028c0| 61 63 68 56 61 6c 69 64 | 61 74 69 6f 6e 29 0d 0a |achValid|ation)..|
|000028d0| 00 25 56 61 6c 69 64 61 | 74 69 6f 6e 4e 61 6d 65 |.%Valida|tionName|
|000028e0| 00 46 6f 72 45 61 63 68 | 44 65 66 61 75 6c 74 00 |.ForEach|Default.|
|000028f0| 77 00 25 46 6f 72 45 61 | 63 68 44 65 66 61 75 6c |w.%ForEa|chDefaul|
|00002900| 74 28 29 00 4c 6f 6f 70 | 73 20 74 68 72 6f 75 67 |t().Loop|s throug|
|00002910| 68 20 61 6c 6c 20 45 52 | 77 69 6e 20 64 65 66 61 |h all ER|win defa|
|00002920| 75 6c 74 73 2c 0d 0a 65 | 76 61 6c 75 61 74 69 6e |ults,..e|valuatin|
|00002930| 67 20 74 68 65 20 6d 61 | 63 72 6f 20 63 6f 64 65 |g the ma|cro code|
|00002940| 20 62 65 74 77 65 65 6e | 20 74 68 65 0d 0a 62 72 | between| the..br|
|00002950| 61 63 65 73 20 77 69 74 | 68 20 72 65 73 70 65 63 |aces wit|h respec|
|00002960| 74 20 74 6f 20 65 61 63 | 68 20 64 65 66 61 75 6c |t to eac|h defaul|
|00002970| 74 2e 0d 0a 0d 0a 42 61 | 73 69 63 20 53 79 6e 74 |t.....Ba|sic Synt|
|00002980| 61 78 3a 0d 0a 25 46 6f | 72 45 61 63 68 44 65 66 |ax:..%Fo|rEachDef|
|00002990| 61 75 6c 74 28 29 20 7b | 0d 0a 7d 0d 0a 0d 0a 42 |ault() {|..}....B|
|000029a0| 61 73 69 63 20 53 79 6e | 74 61 78 20 45 78 61 6d |asic Syn|tax Exam|
|000029b0| 70 6c 65 3a 0d 0a 25 46 | 6f 72 45 61 63 68 44 65 |ple:..%F|orEachDe|
|000029c0| 66 61 75 6c 74 28 29 20 | 7b 0d 0a 20 20 25 44 65 |fault() |{.. %De|
|000029d0| 66 61 75 6c 74 4e 61 6d | 65 20 20 25 44 65 66 61 |faultNam|e %Defa|
|000029e0| 75 6c 74 56 61 6c 75 65 | 0d 0a 7d 0d 0a 00 25 46 |ultValue|..}...%F|
|000029f0| 6f 72 45 61 63 68 44 65 | 66 61 75 6c 74 28 29 20 |orEachDe|fault() |
|00002a00| 7b 0d 0a 7d 00 44 65 66 | 61 75 6c 74 4e 61 6d 65 |{..}.Def|aultName|
|00002a10| 00 78 00 25 44 65 66 61 | 75 6c 74 4e 61 6d 65 00 |.x.%Defa|ultName.|
|00002a20| 72 65 74 75 72 6e 73 20 | 61 6e 20 45 52 77 69 6e |returns |an ERwin|
|00002a30| 20 64 65 66 61 75 6c 74 | 27 73 20 6e 61 6d 65 0d | default|'s name.|
|00002a40| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 3a |...Basic| Syntax:|
|00002a50| 0d 0a 25 44 65 66 61 75 | 6c 74 4e 61 6d 65 0d 0a |..%Defau|ltName..|
|00002a60| 0d 0a 55 73 61 67 65 20 | 43 6f 6e 74 65 78 74 3a |..Usage |Context:|
|00002a70| 0d 0a 20 20 20 20 44 65 | 66 61 75 6c 74 4e 61 6d |.. De|faultNam|
|00002a80| 65 20 2d 20 77 69 74 68 | 69 6e 20 74 68 65 20 73 |e - with|in the s|
|00002a90| 63 6f 70 65 20 6f 66 20 | 61 6e 20 45 52 77 69 6e |cope of |an ERwin|
|00002aa0| 0d 0a 20 20 20 20 20 20 | 20 20 64 65 66 61 75 6c |.. | defaul|
|00002ab0| 74 20 28 69 2e 65 2e 20 | 25 46 6f 72 45 61 63 68 |t (i.e. |%ForEach|
|00002ac0| 44 65 66 61 75 6c 74 29 | 0d 0a 00 25 44 65 66 61 |Default)|...%Defa|
|00002ad0| 75 6c 74 4e 61 6d 65 00 | 44 65 66 61 75 6c 74 56 |ultName.|DefaultV|
|00002ae0| 61 6c 75 65 00 79 00 25 | 44 65 66 61 75 6c 74 56 |alue.y.%|DefaultV|
|00002af0| 61 6c 75 65 00 72 65 74 | 75 72 6e 73 20 61 6e 20 |alue.ret|urns an |
|00002b00| 45 52 77 69 6e 20 64 65 | 66 61 75 6c 74 27 73 20 |ERwin de|fault's |
|00002b10| 76 61 6c 75 65 0d 0a 0d | 0a 42 61 73 69 63 20 53 |value...|.Basic S|
|00002b20| 79 6e 74 61 78 3a 0d 0a | 25 44 65 66 61 75 6c 74 |yntax:..|%Default|
|00002b30| 56 61 6c 75 65 28 3c 64 | 65 66 61 75 6c 74 27 73 |Value(<d|efault's|
|00002b40| 20 6e 61 6d 65 3e 29 20 | 6f 72 0d 0a 25 44 65 66 | name>) |or..%Def|
|00002b50| 61 75 6c 74 56 61 6c 75 | 65 0d 0a 0d 0a 55 73 61 |aultValu|e....Usa|
|00002b60| 67 65 20 43 6f 6e 74 65 | 78 74 3a 0d 0a 20 20 20 |ge Conte|xt:.. |
|00002b70| 20 25 44 65 66 61 75 6c | 74 56 61 6c 75 65 28 3c | %Defaul|tValue(<|
|00002b80| 64 65 66 61 75 6c 74 27 | 73 20 6e 61 6d 65 3e 29 |default'|s name>)|
|00002b90| 20 2d 20 61 6e 79 77 68 | 65 72 65 0d 0a 20 20 20 | - anywh|ere.. |
|00002ba0| 20 25 44 65 66 61 75 6c | 74 56 61 6c 75 65 20 2d | %Defaul|tValue -|
|00002bb0| 20 77 69 74 68 69 6e 20 | 74 68 65 20 73 63 6f 70 | within |the scop|
|00002bc0| 65 20 6f 66 20 61 6e 0d | 0a 20 20 20 20 20 20 20 |e of an.|. |
|00002bd0| 20 45 52 77 69 6e 20 64 | 65 66 61 75 6c 74 20 28 | ERwin d|efault (|
|00002be0| 69 2e 65 2e 20 25 46 6f | 72 45 61 63 68 44 65 66 |i.e. %Fo|rEachDef|
|00002bf0| 61 75 6c 74 29 0d 0a 00 | 25 44 65 66 61 75 6c 74 |ault)...|%Default|
|00002c00| 56 61 6c 75 65 00 46 6f | 72 45 61 63 68 44 6f 6d |Value.Fo|rEachDom|
|00002c10| 61 69 6e 00 7a 00 25 46 | 6f 72 45 61 63 68 44 6f |ain.z.%F|orEachDo|
|00002c20| 6d 61 69 6e 28 29 00 4c | 6f 6f 70 73 20 74 68 72 |main().L|oops thr|
|00002c30| 6f 75 67 68 20 61 6c 6c | 20 45 52 77 69 6e 20 64 |ough all| ERwin d|
|00002c40| 6f 6d 61 69 6e 73 20 74 | 68 61 74 0d 0a 64 65 66 |omains t|hat..def|
|00002c50| 69 6e 65 20 64 61 74 61 | 74 79 70 65 73 2c 20 65 |ine data|types, e|
|00002c60| 76 61 6c 75 61 74 69 6e | 67 20 74 68 65 0d 0a 6d |valuatin|g the..m|
|00002c70| 61 63 72 6f 20 63 6f 64 | 65 20 62 65 74 77 65 65 |acro cod|e betwee|
|00002c80| 6e 20 74 68 65 20 62 72 | 61 63 65 73 0d 0a 77 69 |n the br|aces..wi|
|00002c90| 74 68 20 72 65 73 70 65 | 63 74 20 74 6f 20 65 61 |th respe|ct to ea|
|00002ca0| 63 68 20 64 6f 6d 61 69 | 6e 2e 0d 0a 0d 0a 42 61 |ch domai|n.....Ba|
|00002cb0| 73 69 63 20 53 79 6e 74 | 61 78 20 45 78 61 6d 70 |sic Synt|ax Examp|
|00002cc0| 6c 65 3a 0d 0a 25 46 6f | 72 45 61 63 68 44 6f 6d |le:..%Fo|rEachDom|
|00002cd0| 61 69 6e 28 29 20 7b 0d | 0a 20 20 25 44 6f 6d 61 |ain() {.|. %Doma|
|00002ce0| 69 6e 4e 61 6d 65 20 25 | 44 6f 6d 61 69 6e 44 61 |inName %|DomainDa|
|00002cf0| 74 61 74 79 70 65 20 25 | 44 6f 6d 61 69 6e 4e 75 |tatype %|DomainNu|
|00002d00| 6c 6c 0d 0a 20 20 25 44 | 6f 6d 61 69 6e 56 61 6c |ll.. %D|omainVal|
|00002d10| 69 64 61 74 69 6f 6e 20 | 25 44 6f 6d 61 69 6e 44 |idation |%DomainD|
|00002d20| 65 66 61 75 6c 74 0d 0a | 7d 0d 0a 00 25 46 6f 72 |efault..|}...%For|
|00002d30| 45 61 63 68 44 6f 6d 61 | 69 6e 28 29 20 7b 0d 0a |EachDoma|in() {..|
|00002d40| 7d 00 44 6f 6d 61 69 6e | 4e 61 6d 65 00 7b 00 25 |}.Domain|Name.{.%|
|00002d50| 44 6f 6d 61 69 6e 4e 61 | 6d 65 00 72 65 74 75 72 |DomainNa|me.retur|
|00002d60| 6e 73 20 61 6e 20 45 52 | 77 69 6e 20 64 6f 6d 61 |ns an ER|win doma|
|00002d70| 69 6e 27 73 20 6e 61 6d | 65 0d 0a 0d 0a 42 61 73 |in's nam|e....Bas|
|00002d80| 69 63 20 53 79 6e 74 61 | 78 3a 0d 0a 25 44 6f 6d |ic Synta|x:..%Dom|
|00002d90| 61 69 6e 4e 61 6d 65 5b | 28 5b 4c 6f 67 69 63 61 |ainName[|([Logica|
|00002da0| 6c 7c 50 68 79 73 69 63 | 61 6c 5d 29 5d 0d 0a 0d |l|Physic|al])]...|
|00002db0| 0a 55 73 61 67 65 20 43 | 6f 6e 74 65 78 74 3a 0d |.Usage C|ontext:.|
|00002dc0| 0a 20 20 20 20 44 6f 6d | 61 69 6e 4e 61 6d 65 20 |. Dom|ainName |
|00002dd0| 2d 20 77 69 74 68 69 6e | 20 74 68 65 20 73 63 6f |- within| the sco|
|00002de0| 70 65 20 6f 66 20 61 6e | 20 45 52 77 69 6e 0d 0a |pe of an| ERwin..|
|00002df0| 20 20 20 20 20 20 20 20 | 64 6f 6d 61 69 6e 20 28 | |domain (|
|00002e00| 69 2e 65 2e 20 25 46 6f | 72 45 61 63 68 44 6f 6d |i.e. %Fo|rEachDom|
|00002e10| 61 69 6e 29 0d 0a 00 25 | 44 6f 6d 61 69 6e 4e 61 |ain)...%|DomainNa|
|00002e20| 6d 65 00 44 6f 6d 61 69 | 6e 44 61 74 61 74 79 70 |me.Domai|nDatatyp|
|00002e30| 65 00 7c 00 25 44 6f 6d | 61 69 6e 44 61 74 61 74 |e.|.%Dom|ainDatat|
|00002e40| 79 70 65 00 72 65 74 75 | 72 6e 73 20 61 6e 20 45 |ype.retu|rns an E|
|00002e50| 52 77 69 6e 20 64 6f 6d | 61 69 6e 27 73 20 64 61 |Rwin dom|ain's da|
|00002e60| 74 61 74 79 70 65 0d 0a | 0d 0a 42 61 73 69 63 20 |tatype..|..Basic |
|00002e70| 53 79 6e 74 61 78 3a 0d | 0a 25 44 6f 6d 61 69 6e |Syntax:.|.%Domain|
|00002e80| 44 61 74 61 74 79 70 65 | 28 3c 64 6f 6d 61 69 6e |Datatype|(<domain|
|00002e90| 27 73 20 6e 61 6d 65 3e | 29 20 6f 72 0d 0a 25 44 |'s name>|) or..%D|
|00002ea0| 6f 6d 61 69 6e 44 61 74 | 61 74 79 70 65 0d 0a 0d |omainDat|atype...|
|00002eb0| 0a 55 73 61 67 65 20 43 | 6f 6e 74 65 78 74 3a 0d |.Usage C|ontext:.|
|00002ec0| 0a 20 20 20 20 25 44 6f | 6d 61 69 6e 44 61 74 61 |. %Do|mainData|
|00002ed0| 74 79 70 65 28 3c 64 6f | 6d 61 69 6e 27 73 20 6e |type(<do|main's n|
|00002ee0| 61 6d 65 3e 29 20 2d 20 | 61 6e 79 77 68 65 72 65 |ame>) - |anywhere|
|00002ef0| 0d 0a 20 20 20 20 25 44 | 6f 6d 61 69 6e 44 61 74 |.. %D|omainDat|
|00002f00| 61 74 79 70 65 20 2d 20 | 77 69 74 68 69 6e 20 74 |atype - |within t|
|00002f10| 68 65 20 73 63 6f 70 65 | 20 6f 66 20 61 6e 0d 0a |he scope| of an..|
|00002f20| 20 20 20 20 20 20 20 20 | 45 52 77 69 6e 20 64 6f | |ERwin do|
|00002f30| 6d 61 69 6e 20 28 69 2e | 65 2e 20 25 46 6f 72 45 |main (i.|e. %ForE|
|00002f40| 61 63 68 44 6f 6d 61 69 | 6e 29 0d 0a 00 25 44 6f |achDomai|n)...%Do|
|00002f50| 6d 61 69 6e 44 61 74 61 | 74 79 70 65 00 44 6f 6d |mainData|type.Dom|
|00002f60| 61 69 6e 4e 75 6c 6c 4f | 70 74 69 6f 6e 00 7d 00 |ainNullO|ption.}.|
|00002f70| 25 44 6f 6d 61 69 6e 4e | 75 6c 6c 4f 70 74 69 6f |%DomainN|ullOptio|
|00002f80| 6e 00 72 65 74 75 72 6e | 73 20 61 6e 20 45 52 77 |n.return|s an ERw|
|00002f90| 69 6e 20 64 6f 6d 61 69 | 6e 27 73 20 6e 75 6c 6c |in domai|n's null|
|00002fa0| 20 6f 70 74 69 6f 6e 0d | 0a 0d 0a 42 61 73 69 63 | option.|...Basic|
|00002fb0| 20 53 79 6e 74 61 78 3a | 0d 0a 25 44 6f 6d 61 69 | Syntax:|..%Domai|
|00002fc0| 6e 4e 75 6c 6c 4f 70 74 | 69 6f 6e 28 3c 64 6f 6d |nNullOpt|ion(<dom|
|00002fd0| 61 69 6e 27 73 20 6e 61 | 6d 65 3e 29 20 6f 72 0d |ain's na|me>) or.|
|00002fe0| 0a 25 44 6f 6d 61 69 6e | 4e 75 6c 6c 4f 70 74 69 |.%Domain|NullOpti|
|00002ff0| 6f 6e 0d 0a 0d 0a 55 73 | 61 67 65 20 43 6f 6e 74 |on....Us|age Cont|
|00003000| 65 78 74 3a 0d 0a 20 20 | 20 20 25 44 6f 6d 61 69 |ext:.. | %Domai|
|00003010| 6e 4e 75 6c 6c 4f 70 74 | 69 6f 6e 28 3c 64 6f 6d |nNullOpt|ion(<dom|
|00003020| 61 69 6e 27 73 20 6e 61 | 6d 65 3e 29 20 2d 20 61 |ain's na|me>) - a|
|00003030| 6e 79 77 68 65 72 65 0d | 0a 20 20 20 20 25 44 6f |nywhere.|. %Do|
|00003040| 6d 61 69 6e 4e 75 6c 6c | 4f 70 74 69 6f 6e 20 2d |mainNull|Option -|
|00003050| 20 77 69 74 68 69 6e 20 | 74 68 65 20 73 63 6f 70 | within |the scop|
|00003060| 65 20 6f 66 20 61 6e 0d | 0a 20 20 20 20 20 20 20 |e of an.|. |
|00003070| 20 45 52 77 69 6e 20 64 | 6f 6d 61 69 6e 20 28 69 | ERwin d|omain (i|
|00003080| 2e 65 2e 20 25 46 6f 72 | 45 61 63 68 44 6f 6d 61 |.e. %For|EachDoma|
|00003090| 69 6e 29 0d 0a 00 25 44 | 6f 6d 61 69 6e 4e 75 6c |in)...%D|omainNul|
|000030a0| 6c 4f 70 74 69 6f 6e 00 | 44 6f 6d 61 69 6e 56 61 |lOption.|DomainVa|
|000030b0| 6c 69 64 61 74 69 6f 6e | 00 7e 00 25 44 6f 6d 61 |lidation|.~.%Doma|
|000030c0| 69 6e 56 61 6c 69 64 61 | 74 69 6f 6e 00 72 65 74 |inValida|tion.ret|
|000030d0| 75 72 6e 73 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |urns the| name of|
|000030e0| 20 74 68 65 20 76 61 6c | 69 64 61 74 69 6f 6e 0d | the val|idation.|
|000030f0| 0a 61 74 74 61 63 68 65 | 64 20 74 6f 20 61 6e 20 |.attache|d to an |
|00003100| 45 52 77 69 6e 20 64 6f | 6d 61 69 6e 0d 0a 0d 0a |ERwin do|main....|
|00003110| 42 61 73 69 63 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |Basic Sy|ntax:..%|
|00003120| 44 6f 6d 61 69 6e 56 61 | 6c 69 64 61 74 69 6f 6e |DomainVa|lidation|
|00003130| 28 3c 64 6f 6d 61 69 6e | 27 73 20 6e 61 6d 65 3e |(<domain|'s name>|
|00003140| 29 20 6f 72 0d 0a 25 44 | 6f 6d 61 69 6e 56 61 6c |) or..%D|omainVal|
|00003150| 69 64 61 74 69 6f 6e 0d | 0a 0d 0a 55 73 61 67 65 |idation.|...Usage|
|00003160| 20 43 6f 6e 74 65 78 74 | 3a 0d 0a 20 20 20 20 25 | Context|:.. %|
|00003170| 44 6f 6d 61 69 6e 56 61 | 6c 69 64 61 74 69 6f 6e |DomainVa|lidation|
|00003180| 28 3c 64 6f 6d 61 69 6e | 27 73 20 6e 61 6d 65 3e |(<domain|'s name>|
|00003190| 29 20 2d 20 61 6e 79 77 | 68 65 72 65 0d 0a 20 20 |) - anyw|here.. |
|000031a0| 20 20 25 44 6f 6d 61 69 | 6e 56 61 6c 69 64 61 74 | %Domai|nValidat|
|000031b0| 69 6f 6e 20 2d 20 77 69 | 74 68 69 6e 20 74 68 65 |ion - wi|thin the|
|000031c0| 20 73 63 6f 70 65 20 6f | 66 20 61 6e 0d 0a 20 20 | scope o|f an.. |
|000031d0| 20 20 20 20 20 20 45 52 | 77 69 6e 20 64 6f 6d 61 | ER|win doma|
|000031e0| 69 6e 20 28 69 2e 65 2e | 20 25 46 6f 72 45 61 63 |in (i.e.| %ForEac|
|000031f0| 68 44 6f 6d 61 69 6e 29 | 0d 0a 00 25 44 6f 6d 61 |hDomain)|...%Doma|
|00003200| 69 6e 56 61 6c 69 64 61 | 74 69 6f 6e 00 44 6f 6d |inValida|tion.Dom|
|00003210| 61 69 6e 44 65 66 61 75 | 6c 74 00 7f 00 25 44 6f |ainDefau|lt...%Do|
|00003220| 6d 61 69 6e 44 65 66 61 | 75 6c 74 00 72 65 74 75 |mainDefa|ult.retu|
|00003230| 72 6e 73 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |rns the |name of |
|00003240| 74 68 65 20 64 65 66 61 | 75 6c 74 0d 0a 61 74 74 |the defa|ult..att|
|00003250| 61 63 68 65 64 20 74 6f | 20 61 6e 20 45 52 77 69 |ached to| an ERwi|
|00003260| 6e 20 64 6f 6d 61 69 6e | 0d 0a 0d 0a 42 61 73 69 |n domain|....Basi|
|00003270| 63 20 53 79 6e 74 61 78 | 3a 0d 0a 25 44 6f 6d 61 |c Syntax|:..%Doma|
|00003280| 69 6e 44 65 66 61 75 6c | 74 28 3c 64 6f 6d 61 69 |inDefaul|t(<domai|
|00003290| 6e 27 73 20 6e 61 6d 65 | 3e 29 20 6f 72 0d 0a 25 |n's name|>) or..%|
|000032a0| 44 6f 6d 61 69 6e 44 65 | 66 61 75 6c 74 0d 0a 0d |DomainDe|fault...|
|000032b0| 0a 55 73 61 67 65 20 43 | 6f 6e 74 65 78 74 3a 0d |.Usage C|ontext:.|
|000032c0| 0a 20 20 20 20 25 44 6f | 6d 61 69 6e 44 65 66 61 |. %Do|mainDefa|
|000032d0| 75 6c 74 28 3c 64 6f 6d | 61 69 6e 27 73 20 6e 61 |ult(<dom|ain's na|
|000032e0| 6d 65 3e 29 20 2d 20 61 | 6e 79 77 68 65 72 65 0d |me>) - a|nywhere.|
|000032f0| 0a 20 20 20 20 25 44 6f | 6d 61 69 6e 44 65 66 61 |. %Do|mainDefa|
|00003300| 75 6c 74 20 2d 20 77 69 | 74 68 69 6e 20 74 68 65 |ult - wi|thin the|
|00003310| 20 73 63 6f 70 65 20 6f | 66 20 61 6e 0d 0a 20 20 | scope o|f an.. |
|00003320| 20 20 20 20 20 20 45 52 | 77 69 6e 20 64 6f 6d 61 | ER|win doma|
|00003330| 69 6e 20 28 69 2e 65 2e | 20 25 46 6f 72 45 61 63 |in (i.e.| %ForEac|
|00003340| 68 44 6f 6d 61 69 6e 29 | 0d 0a 00 25 44 6f 6d 61 |hDomain)|...%Doma|
|00003350| 69 6e 44 65 66 61 75 6c | 74 00 44 6f 6d 61 69 6e |inDefaul|t.Domain|
|00003360| 44 65 66 00 80 00 25 44 | 6f 6d 61 69 6e 44 65 66 |Def...%D|omainDef|
|00003370| 00 72 65 74 75 72 6e 73 | 20 74 68 65 20 64 65 66 |.returns| the def|
|00003380| 69 6e 69 74 69 6f 6e 0d | 0a 6f 66 20 74 68 65 20 |inition.|.of the |
|00003390| 45 52 77 69 6e 20 64 6f | 6d 61 69 6e 0d 0a 0d 0a |ERwin do|main....|
|000033a0| 42 61 73 69 63 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |Basic Sy|ntax:..%|
|000033b0| 44 6f 6d 61 69 6e 44 65 | 66 28 3c 64 6f 6d 61 69 |DomainDe|f(<domai|
|000033c0| 6e 27 73 20 6e 61 6d 65 | 3e 29 20 6f 72 0d 0a 25 |n's name|>) or..%|
|000033d0| 44 6f 6d 61 69 6e 44 65 | 66 0d 0a 0d 0a 55 73 61 |DomainDe|f....Usa|
|000033e0| 67 65 20 43 6f 6e 74 65 | 78 74 3a 0d 0a 20 20 20 |ge Conte|xt:.. |
|000033f0| 20 25 44 6f 6d 61 69 6e | 44 65 66 28 3c 64 6f 6d | %Domain|Def(<dom|
|00003400| 61 69 6e 27 73 20 6e 61 | 6d 65 3e 29 20 2d 20 61 |ain's na|me>) - a|
|00003410| 6e 79 77 68 65 72 65 0d | 0a 20 20 20 20 25 44 6f |nywhere.|. %Do|
|00003420| 6d 61 69 6e 44 65 66 20 | 2d 20 77 69 74 68 69 6e |mainDef |- within|
|00003430| 20 74 68 65 20 73 63 6f | 70 65 20 6f 66 20 61 6e | the sco|pe of an|
|00003440| 0d 0a 20 20 20 20 20 20 | 20 20 45 52 77 69 6e 20 |.. | ERwin |
|00003450| 64 6f 6d 61 69 6e 20 28 | 69 2e 65 2e 20 25 46 6f |domain (|i.e. %Fo|
|00003460| 72 45 61 63 68 44 6f 6d | 61 69 6e 29 0d 0a 00 25 |rEachDom|ain)...%|
|00003470| 44 6f 6d 61 69 6e 44 65 | 66 00 41 74 74 44 6f 6d |DomainDe|f.AttDom|
|00003480| 61 69 6e 00 81 00 25 41 | 74 74 44 6f 6d 61 69 6e |ain...%A|ttDomain|
|00003490| 00 72 65 74 75 72 6e 73 | 20 74 68 65 20 6e 61 6d |.returns| the nam|
|000034a0| 65 20 6f 66 20 74 68 65 | 20 64 6f 6d 61 69 6e 0d |e of the| domain.|
|000034b0| 0a 61 74 74 61 63 68 65 | 64 20 74 6f 20 61 6e 20 |.attache|d to an |
|000034c0| 45 52 77 69 6e 20 61 74 | 74 72 69 62 75 74 65 0d |ERwin at|tribute.|
|000034d0| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 3a |...Basic| Syntax:|
|000034e0| 0d 0a 25 41 74 74 44 6f | 6d 61 69 6e 0d 0a 0d 0a |..%AttDo|main....|
|000034f0| 55 73 61 67 65 20 43 6f | 6e 74 65 78 74 3a 0d 0a |Usage Co|ntext:..|
|00003500| 20 20 20 20 25 41 74 74 | 44 6f 6d 61 69 6e 20 2d | %Att|Domain -|
|00003510| 20 77 69 74 68 69 6e 20 | 74 68 65 20 73 63 6f 70 | within |the scop|
|00003520| 65 20 6f 66 20 61 6e 0d | 0a 20 20 20 20 20 20 20 |e of an.|. |
|00003530| 20 45 52 77 69 6e 20 61 | 74 74 72 69 62 75 74 65 | ERwin a|ttribute|
|00003540| 20 28 69 2e 65 2e 20 25 | 46 6f 72 45 61 63 68 41 | (i.e. %|ForEachA|
|00003550| 74 74 29 0d 0a 00 25 41 | 74 74 44 6f 6d 61 69 6e |tt)...%A|ttDomain|
|00003560| 00 53 77 69 74 63 68 00 | 82 00 25 53 77 69 74 63 |.Switch.|..%Switc|
|00003570| 68 28 29 00 45 76 61 6c | 75 61 74 65 73 20 74 68 |h().Eval|uates th|
|00003580| 65 20 73 77 69 74 63 68 | 20 61 72 67 75 6d 65 6e |e switch| argumen|
|00003590| 74 20 61 6e 64 20 6d 61 | 74 63 68 65 73 0d 0a 74 |t and ma|tches..t|
|000035a0| 68 65 20 72 65 73 75 6c | 74 20 61 67 61 69 6e 73 |he resul|t agains|
|000035b0| 74 20 74 68 65 20 73 70 | 65 63 69 66 69 65 64 20 |t the sp|ecified |
|000035c0| 63 68 6f 69 63 65 73 2e | 0d 0a 49 66 20 61 20 6d |choices.|..If a m|
|000035d0| 61 74 63 68 20 69 73 20 | 66 6f 75 6e 64 20 74 68 |atch is |found th|
|000035e0| 65 20 63 68 6f 69 63 65 | 27 73 20 63 6f 72 72 65 |e choice|'s corre|
|000035f0| 73 70 6f 6e 64 69 6e 67 | 0d 0a 6d 61 63 72 6f 20 |sponding|..macro |
|00003600| 63 6f 64 65 20 69 73 20 | 65 78 70 61 6e 64 65 64 |code is |expanded|
|00003610| 2e 20 20 49 66 20 6e 6f | 20 6d 61 74 63 68 20 69 |. If no| match i|
|00003620| 73 20 66 6f 75 6e 64 2c | 0d 0a 74 68 65 20 64 65 |s found,|..the de|
|00003630| 66 61 75 6c 74 27 73 20 | 6d 61 63 72 6f 20 63 6f |fault's |macro co|
|00003640| 64 65 20 69 73 20 65 78 | 70 61 6e 64 65 64 2e 0d |de is ex|panded..|
|00003650| 0a 0d 0a 53 79 6e 74 61 | 78 3a 0d 0a 25 53 77 69 |...Synta|x:..%Swi|
|00003660| 74 63 68 28 3c 61 72 67 | 75 6d 65 6e 74 3e 29 20 |tch(<arg|ument>) |
|00003670| 7b 0d 0a 20 20 20 20 25 | 43 68 6f 6f 73 65 28 3c |{.. %|Choose(<|
|00003680| 63 68 6f 69 63 65 20 31 | 3e 29 20 7b 3c 6d 61 63 |choice 1|>) {<mac|
|00003690| 72 6f 20 63 6f 64 65 20 | 31 3e 7d 0d 0a 20 20 20 |ro code |1>}.. |
|000036a0| 20 25 43 68 6f 6f 73 65 | 28 3c 63 68 6f 69 63 65 | %Choose|(<choice|
|000036b0| 20 32 3e 29 20 7b 3c 6d | 61 63 72 6f 20 63 6f 64 | 2>) {<m|acro cod|
|000036c0| 65 20 32 3e 7d 0d 0a 20 | 20 20 20 20 20 20 20 3c |e 2>}.. | <|
|000036d0| 65 74 63 2e 2e 2e 3e 0d | 0a 20 20 20 20 25 44 65 |etc...>.|. %De|
|000036e0| 66 61 75 6c 74 20 7b 3c | 64 65 66 61 75 6c 74 20 |fault {<|default |
|000036f0| 6d 61 63 72 6f 20 63 6f | 64 65 3e 7d 0d 0a 7d 0d |macro co|de>}..}.|
|00003700| 0a 00 25 53 77 69 74 63 | 68 20 28 29 20 7b 0d 0a |..%Switc|h () {..|
|00003710| 20 20 20 20 25 43 68 6f | 6f 73 65 28 29 20 7b 7d | %Cho|ose() {}|
|00003720| 0d 0a 20 20 20 20 25 43 | 68 6f 6f 73 65 28 29 20 |.. %C|hoose() |
|00003730| 7b 7d 0d 0a 20 20 20 20 | 25 44 65 66 61 75 6c 74 |{}.. |%Default|
|00003740| 20 7b 7d 0d 0a 7d 00 44 | 61 74 61 74 79 70 65 4e | {}..}.D|atatypeN|
|00003750| 61 6d 65 00 83 00 25 44 | 61 74 61 74 79 70 65 4e |ame...%D|atatypeN|
|00003760| 61 6d 65 28 29 00 42 61 | 73 69 63 20 53 79 6e 74 |ame().Ba|sic Synt|
|00003770| 61 78 3a 0d 0a 25 44 61 | 74 61 74 79 70 65 4e 61 |ax:..%Da|tatypeNa|
|00003780| 6d 65 28 29 0d 0a 00 25 | 44 61 74 61 74 79 70 65 |me()...%|Datatype|
|00003790| 4e 61 6d 65 28 29 00 44 | 61 74 61 74 79 70 65 57 |Name().D|atatypeW|
|000037a0| 69 64 74 68 00 84 00 25 | 44 61 74 61 74 79 70 65 |idth...%|Datatype|
|000037b0| 57 69 64 74 68 28 29 00 | 42 61 73 69 63 20 53 79 |Width().|Basic Sy|
|000037c0| 6e 74 61 78 3a 0d 0a 25 | 44 61 74 61 74 79 70 65 |ntax:..%|Datatype|
|000037d0| 57 69 64 74 68 28 29 0d | 0a 00 25 44 61 74 61 74 |Width().|..%Datat|
|000037e0| 79 70 65 57 69 64 74 68 | 28 29 00 44 61 74 61 74 |ypeWidth|().Datat|
|000037f0| 79 70 65 53 63 61 6c 65 | 00 85 00 25 44 61 74 61 |ypeScale|...%Data|
|00003800| 74 79 70 65 53 63 61 6c | 65 28 29 00 42 61 73 69 |typeScal|e().Basi|
|00003810| 63 20 53 79 6e 74 61 78 | 3a 0d 0a 25 44 61 74 61 |c Syntax|:..%Data|
|00003820| 74 79 70 65 53 63 61 6c | 65 28 29 0d 0a 00 25 44 |typeScal|e()...%D|
|00003830| 61 74 61 74 79 70 65 53 | 63 61 6c 65 28 29 00 00 |atatypeS|cale()..|
|00003840| a5 00 | |.. | |
+--------+-------------------------+-------------------------+--------+--------+